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?