UIKit.UIInterfaceOrientationMask Enumeration
An enumeration of values that specify the available orientations of the user interface.

Syntax

[ObjCRuntime.Native]
[System.Flags]
public enum UIInterfaceOrientationMask

See Also

UIInterfaceOrientation
UIViewController.GetSupportedInterfaceOrientations
UIApplication.SupportedInterfaceOrientationsForWindow

Remarks

A UIKit.UIViewController may support more than one UIKit.UIInterfaceOrientation. This value, returned from UIViewController.GetSupportedInterfaceOrientations and UIApplication.SupportedInterfaceOrientationsForWindow, specifies which orientations are supported by the application.

Members

Member NameDescription
AllThe UIViewController supports all interface orientations.
AllButUpsideDownThe UIViewController supports all orientations except upside-down portrait.
LandscapeThe UIViewController supports both landscape-left and landscape-right orientations.
LandscapeLeftThe UIViewController supports landscape-left orientation.
LandscapeRightThe UIViewController supports landscape-right orientation.
PortraitThe long side is vertical.
PortraitUpsideDownThe UIViewController supports upside-down portrait orientation.

Requirements

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