Upravit

Sdílet prostřednictvím


CKRecordSavePolicy Enum

Definition

Enumerates policies that control when or if a record should be saved.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CKRecordSavePolicy
type CKRecordSavePolicy = 
Inheritance
CKRecordSavePolicy
Attributes

Fields

Name Value Description
SaveIfServerRecordUnchanged 0

Do not save data if the record was changed after the local copy was created.

SaveChangedKeys 1

Save values for all keys for which the data have changed.

SaveAllKeys 2

Save data for all keys, regardless of whether the data have changed..

Applies to