Pops the top item from the navigation bar's stack and updates the UI.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
YESif the navigation bar should be animated; otherwise,
The top item that was popped.
Popping a navigation item removes the top item from the stack and replaces it with the back item. The back item’s title is centered on the navigation bar and its other properties are displayed.