The view controller associated with the currently visible view in the navigation interface.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The currently visible view can belong either to the view controller at the top of the navigation stack or to a view controller that was presented modally on top of the navigation controller itself.