---
title: "navigationBar(_:didPush:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uinavigationbardelegate/navigationbar(_:didpush:)"
---

# navigationBar(_:didPush:)

Tells the delegate that an item was pushed onto the navigation bar.

## Declaration

```swift
optional func navigationBar(_ navigationBar: UINavigationBar, didPush item: UINavigationItem)
```

## Parameters

- `navigationBar`: The navigation bar that the item is being pushed onto.
- `item`: The navigation item that is being pushed.

## Discussion

Discussion If pushing an item onto the navigation bar is animated, this method is invoked after the animation ends; otherwise, it is invoked immediately after the push.

## See Also

### Pushing items

- [navigationBar(_:shouldPush:)](uikit/uinavigationbardelegate/navigationbar(_:shouldpush:).md)
