Post

Replies

Boosts

Views

Activity

Reply to Is it safe to use a NSPersistentCloudKitContainer on a Share Extension?
One possibility that i tried before is to extend the extension processing time by wrapping it with performExpiringActivity. let processinfo = ProcessInfo() processinfo.performExpiringActivity(withReason: "Allow CoreData to sync") { [weak self] (expired) in if (!expired) { self?.saveViewContext() } } In my logs - I do see cloudkit+coredata successfully sync from a share extension
Jul ’21