Tuesday, 6 August 2013

Push notification badge reset count

Push notification badge reset count

I'm using PushBot as my push notification service, my issue is how do I
reset the badge count. I've search and read to use this line of code:
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
The only way the badge count gets reset is if I quit the app from running
on the mulit-task bar and launch the app again, any help is greatly
appreciated. Thanks,

No comments:

Post a Comment