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

# UNNotification

The data for a local or remote notification the system delivers to your app.

```
class UNNotification
```

## Overview

A [`UNNotification`](/documentation/UserNotifications/UNNotification) object contains the initial notification request, which contains the notification’s payload, and the date that the system delivered the notification.

Don’t create notification objects directly. When handling notifications, the system delivers notification objects to your [`UNUserNotificationCenterDelegate`](/documentation/UserNotifications/UNUserNotificationCenterDelegate) object. The [`UNUserNotificationCenter`](/documentation/UserNotifications/UNUserNotificationCenter) object also maintains the list of notifications that the system delivers, and you use the [`getDeliveredNotifications(completionHandler:)`](/documentation/UserNotifications/UNUserNotificationCenter/getDeliveredNotifications(completionHandler:)) method to retrieve those objects.

## Topics

### Getting the Notification Details

[`request`](/documentation/UserNotifications/UNNotification/request)

The notification request containing the payload and trigger condition for the notification.

[`date`](/documentation/UserNotifications/UNNotification/date)

The delivery date of the notification.



---

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)