Upravit

Sdílet prostřednictvím


UINavigationBar.PushNavigationItem(UINavigationItem, Boolean) Method

Definition

Pushes the item onto the navigation stack, optionally animating the change.

[Foundation.Export("pushNavigationItem:animated:")]
public virtual void PushNavigationItem (UIKit.UINavigationItem item, bool animated);
abstract member PushNavigationItem : UIKit.UINavigationItem * bool -> unit
override this.PushNavigationItem : UIKit.UINavigationItem * bool -> unit

Parameters

item
UINavigationItem

Navigation item to be pushed in the stack.

animated
Boolean

Set to true, if the navigation bar should be animated. Otherwise set to false.

Attributes

Applies to