Type String Event iCloudKVSEvent Revision Release 2024.3703 Keywords iCloud, sync, storage, Key-Value Storage, KVS, iCloudKVSEvent, type See also iCloudKVSEvent iCloudKVSEvent.isError iCloudKVSEvent.keys iCloud.*
A string value indicating what happened in Key-Value Storage. This will be one of the values listed below.
For a table of specific keys affected, see the iCloudKVSEvent.keys property.
"serverChange"
— A value changed in iCloud. This occurs when another device, running another instance of your app and attached to the same iCloud account, uploads a new value.
"initialSync"
— Your attempt to write to Key-Value Storage was discarded because an initial download from iCloud did not yet occur. In other words, before you can initially write
"quotaViolation"
— Your app's
"accountChange"
— The user has changed the primary iCloud account. When this occurs, the keys and values in the local Key-Value Storage have been replaced with those from the new account.
"unknown"
— Some other occurrence (this should never happen).