<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNUserNotificationCenter/getDeliveredNotifications(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:objc(cs)UNUserNotificationCenter(im)getDeliveredNotificationsWithCompletionHandler:"
  },
  "title" : "getDeliveredNotifications(completionHandler:)"
}
-->

# getDeliveredNotifications(completionHandler:)

Fetches all of your app’s delivered notifications that are still present in Notification Center.

```
func getDeliveredNotifications(completionHandler: @escaping @Sendable ([UNNotification]) -> Void)
```

## Parameters

`completionHandler`

The block to execute with the results. This block may be executed on a background thread. The block has no return value and takes the following parameter:

- notifications: An array of [`UNNotification`](/documentation/UserNotifications/UNNotification) objects representing the local and remote notifications of your app that have been delivered and are still visible in Notification Center. If none of your app’s notifications are visible in Notification Center, the array is empty.

## Discussion

> Important:
> You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration:
> 
> ```swift
> func deliveredNotifications() async -> [UNNotification]
> ```
> 
> For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/Swift/calling-objective-c-apis-asynchronously>.

This method executes asynchronously, returning immediately and executing the provided block on a background thread when the results become available.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)