Xcode 5不显示TableViewControllers的顶部/底部布局指南 [英] Xcode 5 not displaying Top/Bottom Layout Guides for TableViewControllers

查看:149
本文介绍了Xcode 5不显示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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆