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

Syntax

[ObjCRuntime.Native]
public enum UIInterfaceOrientation

Remarks

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.

Members

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.
UnknownDocumentation for this section has not yet been entered.

Requirements

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