RCB
RCB

Reputation: 2263

XCode Interface Builder : How to configure interface builder to show an 3.5 inch iphone?

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

Answers (3)

Pliskin
Pliskin

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.

enter image description here

Upvotes: 0

nsgulliver
nsgulliver

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 enter image description here

Upvotes: 4

jamapag
jamapag

Reputation: 9318

You can set Size property of main UIView in .xib to Retina 3,5 Full Screen.

Upvotes: 1

Related Questions