I have an app with a tab bar with two tabs. One tab displays a UINavigationController, the other a UIViewController that I have customized.
What I have noticed is that if switch tabs to the UINavigationController tab then navigate a few levels deep in UITableViews, if I click on the current tab on the UITabBar the UINavigationController pops to it's root view.
I was wondering how this takes place. It does not appear that the UINavigationController is a delegate of the UITabBar or UITabBarController, which would have been one option. The functionality is somehow automatic.
I want to implement a similar action on my UIView in the second tab, so I'd like to figure this out. Thanks!