<!--
{
  "availability" : [
    "iOS: 10.0.0 - 26.0.0",
    "iPadOS: 10.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/LaunchOptionsKey/cloudKitShareMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIApplicationLaunchOptionsCloudKitShareMetadataKey"
  },
  "title" : "cloudKitShareMetadata"
}
-->

# cloudKitShareMetadata

A key indicating that the app received a CloudKit share invitation.

```
static let cloudKitShareMetadata: UIApplication.LaunchOptionsKey
```

## Discussion

The value of this key is a <doc://com.apple.documentation/documentation/CloudKit/CKShare/Metadata> object. Schedule a <doc://com.apple.documentation/documentation/CloudKit/CKAcceptSharesOperation> task with the provided metadata 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)