how do you make an app ONLY support landscape?

user722566 picture user722566 · Apr 30, 2011 · Viewed 15.2k times · Source

how do you make an app ONLY support landscape? No portrait mode JUST landscape throughout the whole thing in xcode 3?

Answer

James Harpe picture James Harpe · Oct 30, 2012

The accepted answer did not work for me. This did:

In the properties file for your app (YOURAPPNAME-Info.plist), located in the "supporting files" group, there is an array called "Supported interface orientations". Remove the orientations you don't want from the array, and your app will be locked into the remaining orientation.