开发者

How to change UIView size in Interface Builder

In Interface Builder when I look at the size inspector for the view, it's showing 320x416 and it's grayed out so I can't change it. H开发者_开发问答ow can this be made editable?


Change the UIView's "Size" in the "Simulated Metrics" area in the inspector to "Freeform". Then you can change the Width and Height in "View" area in the inspector.

How to change UIView size in Interface Builder

How to change UIView size in Interface Builder

How to change UIView size in Interface Builder


if you have any of the metrics (status bar, top navigation bar, etc) it won't let you resize the view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜