Instance Method


Removes the specified notifications from Notification Center.


func removeDeliveredNotifications(withIdentifiers identifiers: [String])



An array of NSString objects, each of which corresponds to the identifier associated with a notification request object. This method ignores the identifiers of request objects whose notifications are not currently displayed in Notification Center.


Use this method to selectively remove notifications that you no longer want displayed in Notification Center. The method executes asynchronously, returning immediately and removing the identifiers on a background thread.

See Also

Managing Delivered Notifications

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

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

func removeAllDeliveredNotifications()

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