I have a CKRecord that references an CKAsset. If I understand it correctly, CKSyncEngine would download the asset every time the record has changed on the server. (Of course it would try to use the local asset cache, but worst-case it might be already flushed)
The documentation for CKAsset says that asset downloads can be prevented by limiting the requested record keys using the desiredKeys
property on the fetch operation. But I don't see any possibility to set this property when using CKSyncEngine
.
Did I miss something? Are there any alternatives?