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 =
The home button is to the left.
The home button is to the right.
The home button is at the bottom.
The home button is at the top.
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.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.