Enumeration Case

CKRecordSaveAllKeys

A policy that saves all keys of the record (including those that have not changed) to the server, overwriting any values currently on the server. Keys present only on the server remain unchanged.

Declaration

CKRecordSaveAllKeys = 2

Discussion

It is possible for a server record to contain keys that are not present locally. Another client may have added keys to the record since the time you fetched the record. Also, if you used the desiredKeys property to request only a subset of keys during a previous fetch operation, saving that same record object would modify only the fetched keys and any keys added to the record since then.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software