UIInterfaceOrientation UIInterfaceOrientation Enum


An enumeration of values that specify the orientation of the user interface.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIInterfaceOrientation
type UIInterfaceOrientation = 


LandscapeLeft LandscapeLeft 4

The home button is to the left.

LandscapeRight LandscapeRight 3

The home button is to the right.

Portrait Portrait 1

The home button is at the bottom.

PortraitUpsideDown PortraitUpsideDown 2

The home button is at the top.

Unknown Unknown 0

The orientation is unknown.


The UIInterfaceOrientation represents the rotation of the user interface and, in portrait modes, is the opposite of the Orientation property. For instance, if the device is rotated 90 degrees clockwise from normal portrait mode such that the home button is to the left, the InterfaceOrientation property will be LandscapeLeft but the Orientation property will be LandscapeRight.

Applies to