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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Why UIInterfaceOrientationLandscapeLeft over UIInterfaceOrientationLandscapeRight at Web Builders.

meta

%d bloggers like this: