UINavigationController.SetNavigationBarHidden(Boolean, Boolean) Method

Definition

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

[Foundation.Export("setNavigationBarHidden:animated:")]
public virtual void SetNavigationBarHidden (bool hidden, bool animated);
abstract member SetNavigationBarHidden : bool * bool -> unit
override this.SetNavigationBarHidden : bool * bool -> unit

Parameters

hidden
Boolean

A boolean value that determines if the navigation bar should be hidden or shown.

animated
Boolean

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

Attributes

Remarks

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

Applies to