Bearbeiten

Freigeben über


UIViewController.ModalPresentationCapturesStatusBarAppearance Property

Definition

Whether the UIViewController, when presented modally but non-fullscreen, takes over control of the status bar.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ModalPresentationCapturesStatusBarAppearance { [Foundation.Export("modalPresentationCapturesStatusBarAppearance")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setModalPresentationCapturesStatusBarAppearance:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ModalPresentationCapturesStatusBarAppearance : bool with get, set

Property Value

Boolean indicating whether the modal view controller takes over control of the status bar.

Attributes

Applies to