UIApplication.StatusBarHidden 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
状态栏是否可见。
[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
属性值
确定状态栏是否隐藏的布尔值。
- 属性