Bewerken

Delen via


UIViewController.PrefersStatusBarHidden Method

Definition

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

Applies to