UIDevice.Orientation Property

Definition

Current device orientation.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIDeviceOrientation Orientation { [Foundation.Export("orientation")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.Orientation : UIKit.UIDeviceOrientation

Property Value

Attributes

Remarks

This can be used from a background thread.

Applies to