Closed xiaohange closed 3 years ago
可以在这里获取到点击事件:
//CYLTabBarController.h
@protocol CYLTabBarControllerDelegate <NSObject>
@optional
/*!
* @param tabBarController The tab bar controller containing viewController.
* @param control Selected UIControl in TabBar.
*/
- (void)tabBarController:(UITabBarController *)tabBarController didSelectControl:(UIControl *)control;
@end
可以在这里获取到各个详细的title、icon对应的view:
//UIControl+CYLTabBarControllerExtention.h
- (UIImageView *)cyl_tabImageView;
- (UILabel *)cyl_tabLabel;
@ChenYilong 谢谢, 去年已解决
如何自定义点击某个tabbaritem的字体颜色和icon? 其他item显示默认配置