Removes all of the app’s delivered notifications from Notification Center.
- iOS 10.0+
- macOS 10.14+Beta
- watchOS 3.0+
Use this method to remove all of your app’s delivered notifications from Notification Center. The method executes asynchronously, returning immediately and removing the identifiers on a background thread. This method does not affect any notification requests that are scheduled, but have not yet been delivered.