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! :)
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With