<!--
{
  "availability" : [
    "iOS: 8.0.0 - 17.0.0",
    "iPadOS: 8.0.0 - 17.0.0",
    "macCatalyst: 13.1.0 - 17.0.0",
    "macOS: 10.10.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 10.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKNotification/alertActionLocalizationKey",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKNotification(py)alertActionLocalizationKey"
  },
  "title" : "alertActionLocalizationKey"
}
-->

# alertActionLocalizationKey

The key that identifies the localized string for the notification’s action.

```
var alertActionLocalizationKey: String? { get }
```

## Discussion

The system uses this property’s value to find the matching string in your app’s `Localizable.strings` file. It uses the string as the text of the button that opens your app, which the notification alert displays.

If this property’s value is `nil`, the system displays a single button to dismiss the alert.

---

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)