UIApplication.StatusBarOrientation 属性

定义

状态栏的方向。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual UIKit.UIInterfaceOrientation StatusBarOrientation { [Foundation.Export("statusBarOrientation")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)] get; [Foundation.Export("setStatusBarOrientation:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)] set; }
member this.StatusBarOrientation : UIKit.UIInterfaceOrientation with get, set

属性值

状态栏的当前方向。

属性

适用于

另请参阅

  • <xref:UIKit.UIApplication.SetStatusBarOrientation>