I have a UIView which has a UITabBar with 4 UITabBarItem components in it (all created from IB).
I want my IBAction function called when someone clicks on the items in the tab bar. But I am unable to connect the tabbaritem to my action via IB… I control drag from the “received actions” but it does not allow me to connect that to the tabbaritem.
Thanks
Deshawn
It is not clear from your question if you also defined a UITabBarController.
If you did not (as I assume, otherwise clicking on a tab bar item should work if you correctly defined things in IB), the way to go is assigning a UITabBarDelegate to your UITabBar and define
tabBar:didSelectItem:Have a look at the reference for UITabBarDelegate