I use [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]
to clear badge number. It works fine but remote notifications are removed at the same time.
There are many other questions to clear notification center but I would NOT like to clear them. I just want to clear number of badge while preserving notifications.
Is there any way to achieve this?