首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
uitabbaritem专题
iOS如何自定义的设置UITabbarItem的badge
本文的代码实现效果如下: 除了第三个tabbarItem显示数字,其他的都显示红点 代码如下: //tabbar消息未读数量- (void)showUnreadCountViewItemNO:(NSInteger)index unReadCountSum:(NSInteger)unReadCountSum {UILabel *bageView = (UILabel*)
阅读更多...