Changing to landscape in interface builder. Xcode 4 (iOS)
Asked Answered
P

3

13

I'm working on an iPad app that's going to be in landscape. But how I change so the window in interface builder is in landscape? I remember in the old Interface Builder I just needed to click on an arrow and it switched to landscape.

I'm using Xcode 4.

Thank you in advance! :)

Pachston answered 10/7, 2011 at 14:29 Comment(0)
U
28

In the UI designer, select the top most item (the main view), select the attributes inspector on the right, then select the Landscape orientation option.

Unlicensed answered 10/7, 2011 at 15:3 Comment(1)
You need to first select View Controller.Jeffersonjeffery
R
3

You can't change the orientation of the window. Try to change the orientation of the views in the attributes tab.

Reverend answered 10/7, 2011 at 15:12 Comment(0)
A
2

In xCode 6.1.1 for the Landscape orientation: in Simulated Metrics tab select concrete divice size and select Orientation Landscape. See this picture:

enter image description here

Akmolinsk answered 21/12, 2014 at 4:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.