Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人做过吗?我想显示一个“!” 而不是一个数字。
谢谢。
applicationBadgeNumberonUIApplication定义如下:
applicationBadgeNumber
UIApplication
@property (nonatomic) NSInteger applicationIconBadgeNumber;
没有字符串,只有整数。
它接受整数作为徽章编号,因此您不能显示“!” 作为徽章..