开发者

UILocalNotification.applicationIconBadgeNumber doesn't work in iOS 5 !!!

开发者 https://www.devze.com 2023-04-12 06:53 出处:网络
I just moved to iOS 5 and found that UILocalNotification.applicationIconBadgeNumberstopped to work. When we create any localnotification , we can set applicationIconBadgeNumber. So when 开发者_StackO

I just moved to iOS 5 and found that UILocalNotification.applicationIconBadgeNumber stopped to work.

When we create any localnotification , we can set applicationIconBadgeNumber. So when 开发者_StackOverflow中文版pop-up comes up we can see that badgenumber on application icon.

It works fine in iOS 4.X...but in iOS 5 i can not see any icon badge.

Any solution ??


actually, the applicationIconBadgeNumber is still working, the user just has to have the "Badge App Icon" switch on in the 'Notifications' part of 'Settings'.

0

精彩评论

暂无评论...
验证码 换一张
取 消