 WWDC Scholar 2021 | App Developer, UI Designer & 📽Photographer | Contact: hi@1998.media | Website: 1998.media

A simple and easy workaround solution to help solve the badge counting issue.

During WWDC21, I discussed with the Apple engineer about the CloudKit and notification-related questions.

Problem: “ When we push remote notifications from CloudKit to the device, the badge counting is the same as the row number in the “Record Type”.
Although we can reset the badge number using
UIApplication.shared.applicationIconBadgeNumber = 0


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store