iOS巅峰之实现iOS应用图标右上角数字badge number提醒

[UIApplicationsharedApplication] .applicationIconBadgeNumber =  3 ;         
//右上角badge number 设置成3

[UIApplicationsharedApplication] .applicationIconBadgeNumber =0;                     
/ /消掉右上角badge number

你可能感兴趣的:(iOS)