Instance Method

removeAllDeliveredNotifications

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

Declaration

- (void)removeAllDeliveredNotifications;

Discussion

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

- getDeliveredNotificationsWithCompletionHandler:

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

- removeDeliveredNotificationsWithIdentifiers:

Removes the specified notification requests from Notification Center.