开发者

How to change UIView size in Interface Builder

开发者 https://www.devze.com 2023-01-17 00:03 出处:网络
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

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

精彩评论

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