Share via


UIDevice.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

属性值

属性

注解

这可以从后台线程使用。

适用于