{"abstract":[{"text":"Removes your app’s notifications from Notification Center that match the specified identifiers.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/removeDeliveredNotifications(withIdentifiers:)"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"c:objc(cs)UNUserNotificationCenter(im)removeDeliveredNotificationsWithIdentifiers:","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeDeliveredNotifications"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withIdentifiers"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"])"}],"modules":[{"name":"User Notifications"}],"navigatorTitle":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeDeliveredNotificationsWithIdentifiers:"}],"platforms":[{"introducedAt":"10.0","name":"iOS"},{"introducedAt":"10.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"},{"introducedAt":"3.0","name":"watchOS"}],"role":"symbol","roleHeading":"Instance Method","symbolKind":"method","title":"removeDeliveredNotifications(withIdentifiers:)"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","visionOS","watchOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeDeliveredNotifications"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withIdentifiers"},{"kind":"text","text":" "},{"kind":"internalParam","text":"identifiers"},{"kind":"text","text":": ["},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/String","kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"])"}]}],"kind":"declarations"},{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Foundation\/NSString","isActive":true,"type":"reference"},{"text":" objects, each of which corresponds to a value in the ","type":"text"},{"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest\/identifier","isActive":true,"type":"reference"},{"text":" property of a ","type":"text"},{"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest","isActive":true,"type":"reference"},{"text":" object. This method ignores the identifiers of requests whose notifications are not currently displayed in Notification Center.","type":"text"}],"type":"paragraph"}],"name":"identifiers"}]},{"content":[{"anchor":"Discussion","level":2,"text":"Discussion","type":"heading"},{"inlineContent":[{"text":"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 specified notifications on a background thread.","type":"text"}],"type":"paragraph"}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"seeAlsoSections":[{"anchor":"Removing-delivered-notifications","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/getDeliveredNotifications(completionHandler:)","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/removeAllDeliveredNotifications()"],"title":"Removing delivered notifications"}],"variants":[{"paths":["\/documentation\/usernotifications\/unusernotificationcenter\/removedeliverednotifications(withidentifiers:)"],"traits":[{"interfaceLanguage":"swift"}]},{"paths":["\/documentation\/usernotifications\/unusernotificationcenter\/removedeliverednotifications(withidentifiers:)"],"traits":[{"interfaceLanguage":"occ"}]}],"references":{"UserNotifications-PageImage-card.png":{"alt":"[A notification interface displayed on the lock screen of an iOS device.]","identifier":"UserNotifications-PageImage-card.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card~dark@2x.png"}]},"doc://com.apple.documentation/documentation/Foundation/NSString":{"abstract":[{"text":"A static, plain-text Unicode string object.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"NSString"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Foundation\/NSString","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"NSString"}],"role":"symbol","title":"NSString","type":"topic","url":"\/documentation\/foundation\/nsstring"},"doc://com.apple.documentation/documentation/Swift/String":{"abstract":[{"text":"A Unicode string value that is a collection of characters.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"String"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/String","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"String"}],"role":"symbol","title":"String","type":"topic","url":"\/documentation\/swift\/string"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"doc://com.apple.usernotifications/documentation/UserNotifications":{"abstract":[{"text":"Push user-facing notifications to the user’s device from a server, or generate them locally from your app.","type":"text"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","images":[{"identifier":"UserNotifications-PageImage-card.png","type":"card"}],"kind":"symbol","navigatorTitle":[{"kind":"text","text":"User Notifications"}],"role":"collection","title":"User Notifications","type":"topic","url":"\/documentation\/usernotifications"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationRequest":{"abstract":[{"text":"A request to schedule a local notification, which includes the content of the notification and the trigger conditions for delivery.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationRequest"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationRequest"}],"role":"symbol","title":"UNNotificationRequest","type":"topic","url":"\/documentation\/usernotifications\/unnotificationrequest"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationRequest/identifier":{"abstract":[{"text":"The unique identifier for this notification request.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest\/identifier","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"identifier"}],"role":"symbol","title":"identifier","type":"topic","url":"\/documentation\/usernotifications\/unnotificationrequest\/identifier"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNUserNotificationCenter":{"abstract":[{"text":"The central object for managing notification-related activities for your app or app extension.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNUserNotificationCenter"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNUserNotificationCenter"}],"role":"symbol","title":"UNUserNotificationCenter","type":"topic","url":"\/documentation\/usernotifications\/unusernotificationcenter"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNUserNotificationCenter/getDeliveredNotifications(completionHandler:)":{"abstract":[{"text":"Fetches all of your app’s delivered notifications that are still present in Notification Center.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getDeliveredNotifications"},{"kind":"text","text":"("},{"kind":"externalParam","text":"completionHandler"},{"kind":"text","text":": (["},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UNNotification","text":"UNNotification"},{"kind":"text","text":"]) -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:s4Voida","text":"Void"},{"kind":"text","text":")"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/getDeliveredNotifications(completionHandler:)","kind":"symbol","navigatorTitle":[{"kind":"text","text":"- "},{"kind":"identifier","text":"getDeliveredNotificationsWithCompletionHandler:"}],"role":"symbol","title":"getDeliveredNotifications(completionHandler:)","type":"topic","url":"\/documentation\/usernotifications\/unusernotificationcenter\/getdeliverednotifications(completionhandler:)"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNUserNotificationCenter/removeAllDeliveredNotifications()":{"abstract":[{"text":"Removes all of your app’s delivered notifications from Notification Center.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeAllDeliveredNotifications"},{"kind":"text","text":"()"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/removeAllDeliveredNotifications()","kind":"symbol","navigatorTitle":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeAllDeliveredNotifications"}],"role":"symbol","title":"removeAllDeliveredNotifications()","type":"topic","url":"\/documentation\/usernotifications\/unusernotificationcenter\/removealldeliverednotifications()"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNUserNotificationCenter/removeDeliveredNotifications(withIdentifiers:)":{"abstract":[{"text":"Removes your app’s notifications from Notification Center that match the specified identifiers.","type":"text"}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"removeDeliveredNotifications"},{"kind":"text","text":"("},{"kind":"externalParam","text":"withIdentifiers"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"])"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/removeDeliveredNotifications(withIdentifiers:)","kind":"symbol","navigatorTitle":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeDeliveredNotificationsWithIdentifiers:"}],"role":"symbol","title":"removeDeliveredNotifications(withIdentifiers:)","type":"topic","url":"\/documentation\/usernotifications\/unusernotificationcenter\/removedeliverednotifications(withidentifiers:)"}},"variantOverrides":[{"patch":[{"op":"replace","path":"\/identifier\/interfaceLanguage","value":"occ"},{"op":"replace","path":"\/metadata\/platforms","value":[{"introducedAt":"10.0","name":"iOS"},{"introducedAt":"10.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"},{"introducedAt":"3.0","name":"watchOS"}]},{"op":"replace","path":"\/metadata\/roleHeading","value":"Instance Method"},{"op":"replace","path":"\/metadata\/title","value":"removeDeliveredNotificationsWithIdentifiers:"},{"op":"replace","path":"\/metadata\/symbolKind","value":"method"},{"op":"replace","path":"\/metadata\/fragments","value":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeDeliveredNotificationsWithIdentifiers:"}]},{"op":"replace","path":"\/hierarchy","value":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter"]]}},{"op":"add","path":"\/topicSections","value":null},{"op":"add","path":"\/relationshipsSections","value":null},{"op":"replace","path":"\/seeAlsoSections","value":[{"anchor":"Removing-delivered-notifications","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/getDeliveredNotifications(completionHandler:)","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNUserNotificationCenter\/removeAllDeliveredNotifications()"],"title":"Removing delivered notifications"}]},{"op":"replace","path":"\/primaryContentSections\/0","value":{"declarations":[{"languages":["occ"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","tvOS","visionOS","watchOS"],"tokens":[{"kind":"text","text":"- ("},{"kind":"typeIdentifier","preciseIdentifier":"c:v","text":"void"},{"kind":"text","text":") "},{"kind":"identifier","text":"removeDeliveredNotificationsWithIdentifiers:"},{"kind":"text","text":"("},{"kind":"typeIdentifier","preciseIdentifier":"c:Q$objc(cs)NSArray","text":"NSArray<NSString *>"},{"kind":"text","text":" *) "},{"kind":"internalParam","text":"identifiers"},{"kind":"text","text":";"}]}],"kind":"declarations"}},{"op":"replace","path":"\/primaryContentSections\/1","value":{"kind":"parameters","parameters":[{"content":[{"inlineContent":[{"text":"An array of ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Foundation\/NSString","isActive":true,"type":"reference"},{"text":" objects, each of which corresponds to a value in the ","type":"text"},{"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest\/identifier","isActive":true,"type":"reference"},{"text":" property of a ","type":"text"},{"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationRequest","isActive":true,"type":"reference"},{"text":" object. This method ignores the identifiers of requests whose notifications are not currently displayed in Notification Center.","type":"text"}],"type":"paragraph"}],"name":"identifiers"}]}},{"op":"replace","path":"\/references\/doc:~1~1com.apple.documentation~1documentation~1Foundation~1NSString\/fragments","value":[{"kind":"identifier","text":"NSString"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationRequest\/title","value":"UNNotificationRequest"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationRequest\/fragments","value":[{"kind":"identifier","text":"UNNotificationRequest"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationRequest\/navigatorTitle","value":[{"kind":"identifier","text":"UNNotificationRequest"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationRequest~1identifier\/title","value":"identifier"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationRequest~1identifier\/fragments","value":[{"kind":"identifier","text":"identifier"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter\/title","value":"UNUserNotificationCenter"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter\/fragments","value":[{"kind":"identifier","text":"UNUserNotificationCenter"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter\/navigatorTitle","value":[{"kind":"identifier","text":"UNUserNotificationCenter"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1getDeliveredNotifications(completionHandler:)\/title","value":"getDeliveredNotificationsWithCompletionHandler:"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1getDeliveredNotifications(completionHandler:)\/fragments","value":[{"kind":"text","text":"- "},{"kind":"identifier","text":"getDeliveredNotificationsWithCompletionHandler:"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1removeAllDeliveredNotifications()\/title","value":"removeAllDeliveredNotifications"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1removeAllDeliveredNotifications()\/fragments","value":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeAllDeliveredNotifications"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1removeDeliveredNotifications(withIdentifiers:)\/title","value":"removeDeliveredNotificationsWithIdentifiers:"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNUserNotificationCenter~1removeDeliveredNotifications(withIdentifiers:)\/fragments","value":[{"kind":"text","text":"- "},{"kind":"identifier","text":"removeDeliveredNotificationsWithIdentifiers:"}]}],"traits":[{"interfaceLanguage":"occ"}]}]}