Reputation: 2263
I want interface builder to display a 3.5 inch iphone mockup and work on it. Where do I configure it?
Upvotes: 1
Views: 1821
Reputation: 1289
If you are using a storyboard file: Select the view controller and you will find the simulated metrics in the Attributes Inspector. Then simply change the size from 'Inferred' to 'Retina 3.5 Full Screen'.
The easiest way to select a view controller in a storyboard is to click the left bar item below your view - see screenshot.
Upvotes: 0
Reputation: 12671
You can set the main .xib file's property by selecting it and go to Assistant Editor
and within Simulated Metrics
section, size property to Retina 3.5 Full Screen
here i have mentioned how to change the size using storyboard
Upvotes: 4
Reputation: 9318
You can set Size
property of main UIView in .xib to Retina 3,5 Full Screen
.
Upvotes: 1