UINavigationBarDelegate.ShouldPushItem 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.
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
- item
- UINavigationItem
Returns
true
if the item
should be pushed. Returning false
prevents the push.
- Attributes