UIViewController.PrefersStatusBarHidden Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether this UIViewController prefers the status bar to be hidden.
[Foundation.Export("prefersStatusBarHidden")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool PrefersStatusBarHidden ();
abstract member PrefersStatusBarHidden : unit -> bool
override this.PrefersStatusBarHidden : unit -> bool
Returns
Boolean indicating whether the status bar should be hidden.
- Attributes