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

# navigationBar(_:didPop:)

Tells the delegate that an item was popped from the navigation bar.

## Declaration

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

## Parameters

- `navigationBar`: The navigation bar that the item is being popped from.
- `item`: The navigation item that is being popped.

## Discussion

Discussion If animating the pop operation, this method is invoked after the animation ends; otherwise, it is invoked immediately after the pop.

## See Also

### Popping items

- [navigationBar(_:shouldPop:)](uikit/uinavigationbardelegate/navigationbar(_:shouldpop:).md)
