UIApplication.StatusBarOrientation Property

Definition

The orientation of the status bar.

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

Property Value

Current orientation of the status bar.

Attributes

Applies to

See also

  • <xref:UIKit.UIApplication.SetStatusBarOrientation>