user3042719 user3042719 - 3 months ago 26x
Swift Question

Swift- Remove Push Notification Badge number?

I am trying to remove the icon badge in swift, but PFInstallation doesn't seem to work anymore. How do I do this?


You can "remove" the app badge icon by setting it to 0:

UIApplication.sharedApplication().applicationIconBadgeNumber = 0

This question shows when you can use it: How to clear push notification badge count in iOS?