UITableViewCells iOS中的白色区域

时间:2016-04-08 18:51:29

标签: ios swift uitableview ipad

什么可能导致这个白色区域显示在我的iPad模拟器上?

enter image description here

这只是表格视图的一个片段,只能在iPad上显示。我之前在我的实际iPad应用程序上看过这个,但只有当用户选择行时才会突出显示那个奇怪的白色矩形。

我准备好提交一个新的版本,但担心这会在真正的iPad上显示出来......其他人之前看过这个吗?

以下是我的故事板的设置方式:

enter image description here

我的文件夹/视图层次结构:

enter image description here

我意识到我在观点中有很多观点,但我之前从未有过这种行为,奇怪的是我没有任何与神秘白色区域具有相同尺寸的观点。

1 个答案:

答案 0 :(得分:0)

通过使tableView背景颜色和单元格背景颜色清除来修复它。

enter image description here

enter image description here