1

I sent a push notification to my users with PushWoosh, and manually set the badge counter to "1" (in the Advanced form). Now the problem is the badge counter is stuck on "1" no matter if the user opened the app or even clicked the notification they got. This badge counter is very annoying to my users, so I need to find a solution as soon as possible.

What can I do to reset it and make it disappear?

4

2 回答 2

3

这应该重置徽章,无论推送供应商在放置时 applicationDidFinishLaunching

[UIApplication sharedApplication].applicationIconBadgeNumber = 0;
于 2013-04-13T11:53:22.053 回答
1

显然发送另一个高级推送,并在“徽章”字段中输入“0”重置计数器,现在问题已解决。无论如何,正如 jaytr0n 所建议的,必须修复代码才能知道如何自主处理。

http://i.stack.imgur.com/IclCv.jpg

于 2013-04-14T13:58:37.283 回答