How to detect when user clears your app's notification
问题 My app has notification feature. When I receive a notification I show a badge in my app icon. As I know, when my app is on background, since user does not clicks on the notification at notification center, my app does not know that it has a notification. So it can not change the badge number. Also from this topic: Detect when a user clears notification from the notification center If user clears the app's notification, the app can not detect it. So the problem is here: - My app is on