Exporting sample project into ios, after chaging the settings section for ios to NoAutorotation and Orientation in Graphics to landscape left, still resulted in the final ipa rotating into portrait and landscape. I was compiling with iOS 8.1.
The problem turned out to be that the -Info.plist file still has the strings:
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string> |
Under the supported orientations array. Removing these actually resulted in locking it to landscape.
Comments
It quite easy to change, just check and uncheck at project setting, so i don't think this is an issue.
xcode isn't adding those strings to the plist, they were already there.