If I push view controllers and/or present modal view controllers on a UINavigationController, how can I find out what is the top most UIViewController?
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.