I'm trying to create a CKShare on a set of CKRecords using CloudKit. I've made it through most of the workflow:
I get the share dialog on device A, text or email the share to device B as expected. On device B, I get:
Open "My_Title_String"? > Not Now | Open
But when I choose 'Open', I get:
Update "App_Name" | sharer shared this. To open it, you'll need the latest version of "app_name". > Got To App Store | Not Now
I've tried upping the build number, deleting app + reinstalling & installing from TestFlight, but I can't get the app to invoke on Device B so - (void)application:(UIApplication*)application userDidAcceptCloudKitShareWithMetadata: never gets called.
Any advice on where I've gone wrong?
I hadn't included CKSharingSupported entry in my Info.plist.
I can't find the documentation of this flag anywhere in Apple's docs, but found it in another posting and it did the trick. Hope this helps someone else save some time.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.