UITabBar get selected item
How can I catch the event when an item is selected from a UITabBar on iPhone/i开发者_如何学CPad app?
The UITabBar
has a delegate property which you can use. Create a class that implements the UITabBarDelegate
and the method:
– tabBar:didSelectItem:
will do the trick
精彩评论