UIDeviceOrientation Enum 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An enumeration of device orientations.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDeviceOrientationtype UIDeviceOrientation = - Inheritance
- 
				UIDeviceOrientation
- Attributes
Fields
| Name | Value | Description | 
|---|---|---|
| Unknown | 0 | The orientation of the device cannot be determined. | 
| Portrait | 1 | The bottom of the device is pointing downward. | 
| PortraitUpsideDown | 2 | The bottom of the device is pointing upward. | 
| LandscapeLeft | 3 | The bottom of the device is pointing to the left. | 
| LandscapeRight | 4 | The bottom of the device is pointing to the right. | 
| FaceUp | 5 | The device is facing upward. | 
| FaceDown | 6 | The device is facing downward. | 
Remarks
The current device orientation.