ios 开发点击tabbaritem触发方法
2016-12-27 本文已影响175人
搬运工开发者
在tabbarcontroller中实现UITabBarDelegate的一个代理方法
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item{
NSLog(@"item name = %@", item.title);
}
在tabbarcontroller中实现UITabBarDelegate的一个代理方法
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item{
NSLog(@"item name = %@", item.title);
}