XCode:如何在界面构建器中获取调整大小视图按钮

问题描述:

我在Xcode 6 Version 6.0(6A279r)中打开了一个旧项目。

I opened an old project in Xcode 6 Version 6.0 (6A279r).

对于某些.xib文件,IB显示调整大小视图按钮,如下所示:

For certain .xib files IB is showing resize-view buttons as follows:

但是,确定.xib文件IB没有显示调整大小视图按钮:

But, for certain .xib files IB is not showing resize-view buttons:

如何启用缺少的调整大小视图按钮?

How can I enable the missing resize view buttons?

好的,这是简单。

只需转到属性检查器并选择自由形式下的大小:

Just go to "Attributes Inspector" and select "Freeform" under size: