Hi All
I am developing a CoreData + CloudKit App for iOS, based partly on the code in CoreDataCloudKitDemo.
The intention of the App is that content will be used in the App but added from a Share Extension.
The CoreData Store is configured to reside in a shared App Group.
Addition and editing of content is functioning but I find that when new content is saved to CoreData from the Share Extension, data does not get pushed to CloudKit until the App itself is brought to the foreground. Which clearly is not the requirement.
Saves made within the App itself eg. from an edit, are pushed to CloudKit immediately.
How do I ensure this happens from the Share Extension?