Why UIInterfaceOrientationLandscapeLeft over UIInterfaceOrientationLandscapeRight
April 22, 2009 § Leave a comment
I never thought the landscape orientation would matter if I select Left or Right. It’s just a preference for developer?
Wrong! It does matter in certain circumstances.
Let’s agree we decide to stay with landscape mode for the entire app.
If your app requires CoreLocation framework, then you should go with UIInterfaceOrientationLandscapeLeft. CLLocationManager has 2 UIAlert hidden from developers. These 2 UIAlert is aligned to UIInterfaceOrientationLandscapeLeft in landscape mode.
Developers won’t be able to rotate and change the CLLocationManager’s UIAlert.
Another bonus is your simulator is naturally preferred UIInterfaceOrientationLandscapeLeft. If you use UIInterfaceOrientationLandscapeLeft, then you can test your app on simulator without using “command” and “arrow” buttons to rotate for viewing.