ios
ios copied to clipboard
setApplicationIconBadgeNumber(0) removed all notifications
If you call setApplicationIconBadgeNumber(0), the digit will be deleted, but all received notifications will be deleted too. This is strange behavior.
Expected Behavior: Only erase the badge.
I'm also seeing this behaviour where all other notifications are being deleted.
I am looking for a way to prevent removing other notifications in the Notifications Center when pressing a specific notification. Also, all delivered notifications seem to disappear when the app comes into the foreground.