开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜