Contents

UIInterfaceOrientation

The initial orientation of the app’s user interface.

Possible Values

UIInterfaceOrientationPortrait

The device is in portrait mode, with the device upright and the Home button on the bottom.

UIInterfaceOrientationPortraitUpsideDown

The device is in portrait mode but is upside down, with the device upright and the Home button at the top.

UIInterfaceOrientationLandscapeLeft

The device is in landscape mode, with the device upright and the Home button on the left.

UIInterfaceOrientationLandscapeRight

The device is in landscape mode, with the device upright and the Home button on the right.

Discussion

The default value is UIInterfaceOrientationPortrait. If you add the UISupportedInterfaceOrientations key to the information property list, the system ignores this key.

For more information, see UIInterfaceOrientation.

See Also

Orientation