I have a UITabBarController with a bunch of tabs. When a new tab is selected, I want to be able to access the UIViewController associated with that tab.
The -(void)tabBar:(UITabBar*)tabBar didSelectItem:(UITabBarItem*)item
method on UITabBarDelegate gives me access only to the UITabBarItem.
Any suggestions on how go from this to the UIViewController that's displaying the contents of the selected tab?