UIKit.UIInterfaceOrientation Enumeration
An enumeration of values that specify the orientation of the user interface.


public enum UIInterfaceOrientation


The UIKit.UIInterfaceOrientation represents the rotation of the user interface and, in portrait modes, is the opposite of the UIDevice.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 UIViewController.InterfaceOrientation property will be UIInterfaceOrientation.LandscapeLeft but the UIDevice.Orientation property will be UIDeviceOrientation.LandscapeRight.


Member NameDescription
LandscapeLeftThe home button is to the left.
LandscapeRightThe home button is to the right.
PortraitThe home button is at the bottom.
PortraitUpsideDownThe home button is at the top.
UnknownThe orientation is unknown.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: