Contents

NSUbiquitousKeyValueStoreQuotaViolationChange

A constant that indicates an attempt to write data exceeded the quota limits.

Declaration

var NSUbiquitousKeyValueStoreQuotaViolationChange: Int { get }

Discussion

The system enforces the following limitations for data you save to the iCloud key-value store:

  • Your app can have no more than 1024 keys in the iCloud key-value store.

  • The total amount of available storage space for all values is 1 megabyte.

  • The maximum size for a single value is 1 megabyte. Therefore, if you associate 1 megabyte of data with a single key, you can’t write other keys to the store.

See Also

Detecting changes to values