Modifica

Condividi tramite


UINavigationController.SetToolbarHidden(Boolean, Boolean) Method

Definition

Allows the navigation controller's UIToolbar to be shown or hidden

[Foundation.Export("setToolbarHidden:animated:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetToolbarHidden (bool hidden, bool animated);
abstract member SetToolbarHidden : bool * bool -> unit
override this.SetToolbarHidden : bool * bool -> unit

Parameters

hidden
Boolean

boolean value that determines if the toolbar should be hidden or shown.

animated
Boolean

A boolean that determines if the showing or hiding of the toolbar should occur with an animated transition.

Attributes

Remarks

This method allows showing or hiding the navigation controller's UIToolbar with an animated transition.

Applies to