Upravit

Sdílet prostřednictvím


UINavigationController.NavigationBar Property

Definition

The UINavigationBar for the UINavigationController.

public virtual UIKit.UINavigationBar NavigationBar { [Foundation.Export("navigationBar")] get; }
member this.NavigationBar : UIKit.UINavigationBar

Property Value

Attributes

Remarks

The UINavigation controller manages the navigation bar, adding items to it, such as the title, based upon the UINavigationItem of the controller currently on the screen, which will be the controller at the top of the UINavigationController's stack. The back button of the navigation bar will automatically pop the controller, causing the previously displayed controller to move to the top of the stack and its view to appear. The UINavigationBar can also have other UIBarButtonItem instances added to it.

Applies to