-2

I need to fire an event when a tab button has been pressed from the tab bar in Xcode. I am clueless to do this? can someone help me?

Larme
  • 24,190
  • 6
  • 51
  • 81
user3517855
  • 211
  • 1
  • 3
  • 12

1 Answers1

0

You should use UITabBarDelegate to your UITabBar and define tabBar:didSelectItem:

as described here : How do you connect a tab bar item to an action?

Community
  • 1
  • 1
Yossi
  • 2,525
  • 2
  • 21
  • 24