<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreSpotlight",
  "identifier" : "/documentation/CoreSpotlight/CSSearchableItemAttributeSet/weakRelatedUniqueIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Spotlight",
      "CoreSpotlight"
    ],
    "preciseIdentifier" : "c:objc(cs)CSSearchableItemAttributeSet(py)weakRelatedUniqueIdentifier"
  },
  "title" : "weakRelatedUniqueIdentifier"
}
-->

# weakRelatedUniqueIdentifier

The unique identifier for the item to which the activity is related, but not linked.

```
var weakRelatedUniqueIdentifier: String? { get set }
```

## Discussion

Unlike the similar [`relatedUniqueIdentifier`](/documentation/CoreSpotlight/CSSearchableItemAttributeSet/relatedUniqueIdentifier) property, this property does not link the lifetime of the item to the lifetime of the activity. In particular, deleting the item does not delete the activity.

---

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)