Post

Replies

Boosts

Views

Activity

Reply to Accept CKShare with the SwiftUI lifecycle.
Hopefully this may help ... I started with the Apple sample at: https://github.com/apple/cloudkit-sample-sharing Added SceneDelegate Setup SceneDelegate in AppDelegate and Plist Added SceneDelegate method for userDidAcceptCloudKitShareWith The method is now being called when the share link is tapped.
Jun ’21
Reply to queryDidReceiveNotification not being called (iOS 14 only)
FWIW, I've am also seeing the same problem: iOS 14.3 not receiving the NSMetadataQueryDidUpdate notification. However, moving to iOS 14.4 and XCode 12.4 has helped on an iPhone device. My app on iPhone iOS 14.4 is definitely getting notifications. OTOH, the same app on iOS 14.4 on an iPad is definitely *still not* getting notifications without a local change to the cloud. If I update iCloud documents on the iPad, a notification is recieved (NSMetadataQueryDidUpdate). So, for me, the "only" thing missing is a working NSMetadataQueryDidUpdate on an iPad w/14.4.
Jan ’21