<!--
{
  "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/UNNotificationDismissActionIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@UNNotificationDismissActionIdentifier"
  },
  "title" : "UNNotificationDismissActionIdentifier"
}
-->

# UNNotificationDismissActionIdentifier

The action that indicates the user explicitly dismissed the notification interface.

```
let UNNotificationDismissActionIdentifier: String
```

## Discussion

The system delivers this action only if your app configured the notification’s category object with the [`customDismissAction`](/documentation/UserNotifications/UNNotificationCategoryOptions/customDismissAction) option. To trigger this action, the user must explicitly dismiss the notification interface. For example, the user must tap the Dismiss button or swipe down on the notification interface in watchOS to trigger this action.

Ignoring a notification or flicking away a notification banner doesn’t trigger this action.

---

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)