iphone : Tabbar method not call during compilation?
I want an activity indicator on a particular tab bar. I ha开发者_开发问答ve applied the UITabBarDelegate
protocol on the .h
file.
I wrote this method for selecting particular tabbar,
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item
this method is not called during compilation. What should I do?
Have you also did your IBOutlet connection to the tab bar?
I think you forgot to write
tab.delegate = self;
精彩评论