Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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! :)

like image 462
Tapy Avatar asked Jul 10 '11 14:07

Tapy


People also ask

How do I change the orientation of Xcode?

Open project in Xcode ( ios/Runner. xcworkspace ), choose Runner in the project navigator, select Target Runner and on Tab General in section Deployment Info we can setup Device Orientation : Setup a device orientation in Xcode.

What is Interface Builder in IOS?

Interface Builder is a software development application for Apple's macOS operating system. It is part of Xcode (formerly Project Builder), the Apple Developer developer's toolset. Interface Builder allows Cocoa and Carbon developers to create interfaces for applications using a graphical user interface.

Where is Interface Builder in Xcode?

First, in Xcode, go to the Resources folder from the tree view on the left and select MainMenu. xib . It will open in the main view. This is where you are going to build you UI.


1 Answers

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.

like image 168
jdoyle1983 Avatar answered Sep 21 '22 00:09

jdoyle1983