pendingDatabaseChanges
A list of database changes that the sync engine has yet to send to the iCloud servers.
Declaration
@property (copy, readonly) NSArray<CKSyncEnginePendingDatabaseChange *> * pendingDatabaseChanges;Discussion
This array contains any pending database changes to send to the iCloud servers. After the sync engine sends those changes, your app’s sync delegate receives an event of type CKSyncEngineSentDatabaseChangesEvent.
The sync engine keeps this list up-to-date while sending changes to the server. For example, when it successfully saves a zone, it will remove that change from this list. If it fails to send a change due to some retryable error (e.g. a network failure), it will keep that change in this list.
Use the addPendingDatabaseChanges: and removePendingDatabaseChanges: methods to modify the array’s contents.