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.
if you have any of the metrics (status bar, top navigation bar, etc) it won't let you resize the view.
精彩评论