CKSharingSupported
A Boolean value that indicates your app supports CloudKit Sharing.
Discussion
If your app supports CloudKit Sharing, add this key to your app’s Info.plist file with a value of true. This tells the system to launch your app when the user taps or clicks a share’s URL. For example, one they receive in an email or an iMessage from the share’s owner.
Before your app launches, CloudKit verifies that the user has an active iCloud account and, for private shares, that it matches their participant details. Following successful verification, CloudKit provides the share’s metadata to your app’s scene, or application, delegate. The method it calls varies by platform and app configuration. For more information, see CKShare.Metadata.
To indicate that your app supports CloudKit Sharing:
Select your project’s
Info.plistfile in the Project navigator in Xcode.Click the Add button (+) next to any key in the property list editor and press Return.
Type the key name
CKSharingSupported.Choose Boolean from the pop-up menu in the Type column.
Choose YES from the pop-up menu in the Value column.
Save your changes.