Set size of view in NIB / XIB file

In the Attributes inspector, in the Simulated Metrics section, change the size to None. This unlocks the view and you can drag to resize it. EDIT: As noted in the comments below, in more recent versions of Xcode you must set the attribute to Freeform, not None.

Warnings: Misplaced View

In Xcode 5 the position of views on the canvas does not update when constraints are applied. Thus, it is possible to have constraints that specify a different position for the view than you see it in Interface Builder. You can correct this by pressing Command + Option + = or selecting “Update Frames” in … Read more