本文的代码实现效果如下:
除了第三个tabbarItem显示数字,其他的都显示红点
代码如下:
//tabbar消息未读数量
- (void)showUnreadCountViewItemNO:(NSInteger)index unReadCountSum:(NSInteger)unReadCountSum {
UILabel *bageView = (UILabel*)[self.tabBarController.tabBar subviewW
本文的代码实现效果如下:
除了第三个tabbarItem显示数字,其他的都显示红点
代码如下:
//tabbar消息未读数量
- (void)showUnreadCountViewItemNO:(NSInteger)index unReadCountSum:(NSInteger)unReadCountSum {
UILabel *bageView = (UILabel*)[self.tabBarController.tabBar subviewW