I'm trying to connect my app to CloudKit to save a copy of the user's data online. However when we test with a new install, I want the app to wait until it has downloaded all necessary data from the cloud before deciding which screen to show next.
Is there a way of knowing when CloudKit has finished downloading. I can see in the output that an event occurs:
CoreData: CloudKit: CoreData+CloudKit: -[NSCloudKitMirroringDelegate checkAndExecuteNextRequest]_block_invoke(3225): <NSCloudKitMirroringDelegate: 0x600003324a80>: No more requests to execute.
Can I intercept this?