Modifier

Partager via


UIApplication.StatusBarStyle Property

Definition

The current UIStatusBarStyle.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PreferredStatusBarStyle' instead.")]
public virtual UIKit.UIStatusBarStyle StatusBarStyle { [Foundation.Export("statusBarStyle")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PreferredStatusBarStyle' instead.")] get; [Foundation.Export("setStatusBarStyle:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PreferredStatusBarStyle' instead.")] set; }
member this.StatusBarStyle : UIKit.UIStatusBarStyle with get, set

Property Value

A constant that indicates the style of the status bar.

Attributes

Applies to