<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UINavigationBarDelegate/navigationBar(_:shouldPush:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UINavigationBarDelegate(im)navigationBar:shouldPushItem:"
  },
  "title" : "navigationBar(_:shouldPush:)"
}
-->

# navigationBar(_:shouldPush:)

Returns a Boolean value indicating whether the navigation bar should push an item.

```
optional func navigationBar(_ navigationBar: UINavigationBar, shouldPush item: UINavigationItem) -> Bool
```

## Parameters

`navigationBar`

The navigation bar that the item is being pushed onto.

`item`

The navigation item that is being pushed.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the item should be pushed; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Sent to the delegate before pushing an item onto the navigation bar.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)