xcode 4.5,视图大小在界面构建器中不可编辑 [英] xcode 4.5, view size not editable in interface builder

查看:79
本文介绍了xcode 4.5,视图大小在界面构建器中不可编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从xcode 4.4开始我的项目,我创建了几个带有界面构建器的视图控制器(带有xib文件)。几天前,我将xcode升级到4.5版。今天,我突然发现我可以在界面构建器中修改视图大小。这是xcode 4.5的预期功能还是xcode 4.5的错误?

I started my project since xcode 4.4, and I have created several view controllers with interface builder (with xib files). Several days ago, I upgraded the xcode to version 4.5. Today, I suddenly found that I could modify view size anymore in interface builder. Is this an intended feature of xcode 4.5 or is it a bug of xcode 4.5?

推荐答案

视图中有一个大小弹出菜单其模拟指标面板(在属性检查器中);将其设置为自由形式,视图可手动调整大小。

A view has a Size popup menu in its Simulated Metrics panel (in the Attributes inspector); set that to Freeform and the view becomes manually resizable.

这篇关于xcode 4.5,视图大小在界面构建器中不可编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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