Sagiftw
Sagiftw

Reputation: 1658

Which event is called when I press on a part of the tab bar?

An example:

alt text

Upvotes: 0

Views: 141

Answers (1)

Georg Fritzsche
Georg Fritzsche

Reputation: 99094

For UITabBar, set the delegate and implement UITabBarDelegates -tabBar:didSelectItem:.
With UITabBarController it is UITabBarControllerDelegates -tabBarController:didSelectViewController:.

Upvotes: 2

Related Questions