Xcode 5不显示TableViewControllers的顶部/底部布局指南 [英] Xcode 5 not displaying Top/Bottom Layout Guides for TableViewControllers
问题描述
Xcode 5.1.1中的Interface Builder为 View Controllers 显示 Top Layout Guide 和 Bottom Layout Guides ,但显然不适用于表视图控制器。
The Interface Builder in Xcode 5.1.1 displays Top Layout Guide and Bottom Layout Guides for View Controllers but apparently not for Table View Controllers.
这确实(总是)是这样的,原因是什么?
Is this indeed (always) the case and what is the reason why?
推荐答案
因为布局指南在表视图控制器中无关紧要。如果您需要将其他视图添加到表视图控制器,您不应该使用表视图控制器,而是使用带有 UITableView
的常规视图控制器以及任何其他视图我喜欢。
Because the layout guides are irrelevant in table view controllers. If you need to add other views to a table view controller, you shouldn't be using a table view controller, but a regular view controller with a UITableView
and any other views you'd like.
这篇关于Xcode 5不显示TableViewControllers的顶部/底部布局指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!