UIApplication.StatusBarHidden 属性

定义

状态栏是否可见。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PrefersStatusBarHidden' instead.")]
public virtual bool StatusBarHidden { [Foundation.Export("isStatusBarHidden")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PrefersStatusBarHidden' instead.")] get; [Foundation.Export("setStatusBarHidden:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UIViewController.PrefersStatusBarHidden' instead.")] set; }
member this.StatusBarHidden : bool with get, set

属性值

确定状态栏是否隐藏的布尔值。

属性

适用于