I'm using the CloudKit in my app. To retrieve all changes from the iCloud I use the operation CKFetchRecordZoneChangesOperation. When I add this operation while I do not have an active internet connection the fetchRecordZoneChangesCompletionBlock is never called.
I do expect that this completion block is called with an error CKError.networkUnavailable.
I'm using swift 3.
I probably misunderstand some things. Can someone explain what I am missing?
CKOperation Documentation
What you need to do is manually set your
CKFetchRecordZoneChangesOperation
's QoS to.userInitiated