UINavigationBarDelegate.ShouldPushItem Method

Definition

Called by the system prior to pushing the item onto the navigation stack.

[Foundation.Export("navigationBar:shouldPushItem:")]
public virtual bool ShouldPushItem (UIKit.UINavigationBar navigationBar, UIKit.UINavigationItem item);
abstract member ShouldPushItem : UIKit.UINavigationBar * UIKit.UINavigationItem -> bool
override this.ShouldPushItem : UIKit.UINavigationBar * UIKit.UINavigationItem -> bool

Parameters

navigationBar
UINavigationBar

Returns

true if the item should be pushed. Returning false prevents the push.

Attributes

Applies to