Which event is called when I press on a part of the tab bar?
An 开发者_开发知识库example:
For UITabBar
, set the delegate
and implement UITabBarDelegate
s -tabBar:didSelectItem:
.
With UITabBarController
it is UITabBarControllerDelegate
s -tabBarController:didSelectViewController:
.
精彩评论