What should happen to Badge count when app is updated?
Demir last edited by user
I am testing one of the iOS apps which has Push Notification functionality. Suppose while testing I have sent some Push Notifications to the app so that app icon started showing badge icon on it. Now instead of viewing notification I updated the app to newer version. So what should happen in this case in ideal scenario? Should badge icons retained or removed?
Is there any document by apple where we can verify above scenario?
Currently I also test a app with notifications and after upgrading the app, the badge count is still present. The app control the badge.
An application is responsible for managing the badge number. If the application does not clear the badge, the push message(s) will remain in the notification center. After an application receives a push notification, it should remove the icon badge by setting the applicationIconBadgeNumber property of the UIApplication object to 0.