开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜