Contents

NSUbiquitousKeyValueStoreChangeReasonKey

A key that indicates the reason why the key-value store changed.

Declaration

let NSUbiquitousKeyValueStoreChangeReasonKey: String

Discussion

When the iCloud key-value store changes due to an external source, the system generates a didChangeExternallyNotification notification. That notification can include this key. The value of this key is an NSNumber that indicates the reason for the change. Possible values include one of the constants NSUbiquitousKeyValueStoreServerChange, NSUbiquitousKeyValueStoreInitialSyncChange, NSUbiquitousKeyValueStoreQuotaViolationChange, or NSUbiquitousKeyValueStoreAccountChange.

See Also

Detecting changes to values