Contents

savePolicy

The policy to use when saving changes to records.

Declaration

var savePolicy: CKModifyRecordsOperation.RecordSavePolicy { get set }

Discussion

The server uses this property to determine how to proceed when saving record changes. The exact behavior depends on the policy you choose:

If you change the property’s value, do so before you execute the operation or submit the operation to a queue. The default value is CKModifyRecordsOperation.RecordSavePolicy.ifServerRecordUnchanged.

See Also

Configuring the Modify Record Operation