能夠在ios桌面的程序icon右上角顯示數字(badge number)
[UIApplicationsharedApplication].applicationIconBadgeNumber
= 3;
//右上角badge number 設置成3
[UIApplicationsharedApplication].applicationIconBadgeNumber
=
0;
//消掉右上角badge
number
分享到: