Xcode 5 not displaying Top/Bottom Layout Guides for TableViewControllers

若如初见. 提交于 2019-12-11 02:38:03

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/24085152/xcode-5-not-displaying-top-bottom-layout-guides-for-tableviewcontrollers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!