3 Replies
      Latest reply on Aug 9, 2019 9:34 PM by KMT
      Veda Level 1 Level 1 (0 points)

        [UIApplication sharedApplication].applicationIconBadgeNumber = 0; -- Setting the Badge number to 0 is clearing all the notifications inside the notification center. Is this the expected Bevaiour?

         

         

        [UIApplication sharedApplication].applicationIconBadgeNumber = -1 ; -- This seems to set the badge number to 0 without clearing any notifications inside the notification center. Is this the expetced beviour and if there is anymore functionality to this. Also is there any Apple Developer documentation on setting badge number to -1.