<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSActionIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Spotlight"
    ],
    "preciseIdentifier" : "c:@CSActionIdentifier"
  },
  "title" : "CSActionIdentifier"
}
-->

# CSActionIdentifier

A key that specifies the action’s identifier in a user activity.

```
let CSActionIdentifier: String
```

## Discussion

When the user selects a custom action on an indexed item, the system launches your app and invokes <doc://com.apple.documentation/documentation/UIKit/UIApplicationDelegate/application(_:continue:restorationHandler:)>. The `userInfo` dictionary of the specified <doc://com.apple.documentation/documentation/Foundation/NSUserActivity> includes the corresponding `Info.plist` using this key.

---

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)