Pops all the view controllers on the stack except the root view controller and updates the display.
- iOS 2.0+
- tvOS 9.0+
Set this value to
YESto animate the transition. Pass
NOif you are setting up a navigation controller before its view is displayed.
An array of view controllers representing the items that were popped from the stack.
The root view controller becomes the top view controller. For information on how the navigation bar is updated, see Updating the Navigation Bar.