Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 包含所有子视图的UITableViewCell将消失_Iphone_Objective C_Uitableview_Uitextfield - Fatal编程技术网

Iphone 包含所有子视图的UITableViewCell将消失

Iphone 包含所有子视图的UITableViewCell将消失,iphone,objective-c,uitableview,uitextfield,Iphone,Objective C,Uitableview,Uitextfield,我将UITableViewCell和UITextField作为UITableView的tableHeaderView放置在Interace Builder中。当我开始在UITextField中编辑文本时,带有UITextField的UITableViewCell将消失。在Interface Builder中编译此xib时,它们甚至消失了。任何可能的解决方案?首先,它不必位于表视图单元格内。尝试使用常规UIView而不是表视图单元格 它到底什么时候消失的? 在键盘外观上或键入第一个字符后?我希望有

我将
UITableViewCell
UITextField
作为
UITableView的
tableHeaderView放置在Interace Builder中。当我开始在
UITextField
中编辑文本时,带有
UITextField
UITableViewCell
将消失。在Interface Builder中编译此xib时,它们甚至消失了。任何可能的解决方案?

首先,它不必位于表视图单元格内。尝试使用常规UIView而不是表视图单元格

它到底什么时候消失的?

在键盘外观上或键入第一个字符后?

我希望有UITableViewCell,因为有单行分隔符。它在键盘外观上消失。