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

# CSSearchableItemActivityIdentifier

The key you use to access a searchable item in a user activity object.

```
let CSSearchableItemActivityIdentifier: String
```

## Discussion

Use this key to access the unique identifier for the searchable item from the
<doc://com.apple.documentation/documentation/Foundation/NSUserActivity/userInfo> dictionary
of a <doc://com.apple.documentation/documentation/Foundation/NSUserActivity> object.

---

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)