편집

다음을 통해 공유


UIViewController.HidesBottomBarWhenPushed Property

Definition

Specifies whether the toolbar should be visible when this UIViewController is pushed onto a UINavigationController.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool HidesBottomBarWhenPushed { [Foundation.Export("hidesBottomBarWhenPushed")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setHidesBottomBarWhenPushed:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.HidesBottomBarWhenPushed : bool with get, set

Property Value

true if the toolbar should be hidden, false if it should be visible.

Attributes

Remarks

When a UIViewController is a child to a UINavigationController, it may display a toolbar at the bottom of the screen. If that is not the desired behavior, the application developer should set this property to true.

If a UIViewController sets this to true, the toolbar remains hidden until the UIViewController is popped from the stack. This will effect other UIViewControllers that are currently visible.

Applies to