<!--
{
  "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/UINavigationBar/pushItem(_:animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UINavigationBar(im)pushNavigationItem:animated:"
  },
  "title" : "pushItem(_:animated:)"
}
-->

# pushItem(_:animated:)

Pushes the given navigation item onto the navigation bar’s stack and updates the UI.

```
func pushItem(_ item: UINavigationItem, animated: Bool)
```

## Parameters

`item`

The navigation item to push on the stack.

`animated`

<doc://com.apple.documentation/documentation/Swift/true> if the navigation bar should be animated; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Pushing a navigation item displays the item’s title in the center on the navigation bar. The previous top navigation item (if it exists) is displayed as a Back button on the left side of the navigation bar. If the new top item has a left custom view, it is displayed instead of the back button.

---

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)