In my app, I\'m receiving push notifications with badge number set to one. When app will start, it should set badges count to 0, so I\'m using:
[[UIApplicat
According to this topic:
How to clear badge number while preserving notification center
setting:
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:-1];
should do the trick.