6 Replies
      Latest reply on Sep 30, 2019 6:08 AM by alexvyi
      Romain Level 1 Level 1 (15 points)



        I've a CKQuerySubscription to monitor specific changes in the public database.

        I've set the notificationInfo.shouldBadge = true to increment the badge value whenever the corresponding push notification is delivered.

        However, I couldn't find a way to decrement the badge value as the notification is read.


        Since iOS 11, both CKMarkNotificationsReadOperation and CKModifyBadgeOperation are deprecated, but the documentation doesn't specify a replacement.


        How can I mark the notification as read and decrement the badge value?