Instance Method


Removes all of the app’s delivered notifications from Notification Center.


func removeAllDeliveredNotifications()


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.

See Also

Managing Delivered Notifications

func getDeliveredNotifications(completionHandler: ([UNNotification]) -> Void)

Returns a list of the app’s notifications that are still displayed in Notification Center.

func removeDeliveredNotifications(withIdentifiers: [String])

Removes the specified notification requests from Notification Center.