Instance Property

topViewController

The view controller at the top of the navigation stack.

Declaration

@property(nonatomic, readonly, strong) UIViewController *topViewController;

See Also

Accessing Items on the Navigation Stack

visibleViewController

The view controller associated with the currently visible view in the navigation interface.

viewControllers

The view controllers currently on the navigation stack.

- setViewControllers:animated:

Replaces the view controllers currently managed by the navigation controller with the specified items.