您可以将应用程式徽章图示设为0,借此「移除」:
原文链接:https://www.f2er.com/swift/320748.htmlSwift< 3.0
UIApplication.sharedApplication().applicationIconBadgeNumber = 0
Swift 3.0
UIApplication.shared.applicationIconBadgeNumber = 0
这个问题显示何时可以使用它:How to clear push notification badge count in iOS?