UINavigationController.SetToolbarHidden(Boolean, Boolean) 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.
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.