|
|
|
|
The functions to handle keys in an Apple iCloud-based container of "key-value" pairs are as follows:
| | iCloudKeyValueExist | Checks if there is a key in an Apple iCloud-based container of "key-value" pairs. | iCloudKeyValueListKey | Lists the keys contained in an Apple iCloud-based container of "key-value" pairs. | iCloudKeyValueRead | Reads the value of a key in an Apple iCloud-based container of "key-value" pairs. | iCloudKeyValueRemove | Removes a key from an Apple iCloud-based container of "key-value" pairs. | iCloudKeyValueWatch | Defines the procedure called when the value of a key is changed in an Apple iCloud-based container of "key-value" pairs. | iCloudKeyValueWrite | Stores the value of a key in an Apple iCloud-based container of "key-value" pairs. |
Remark: iCloud functions are intended to save data per application / per user (iCloud account) so that this data is synchronized and shared between the user's devices. To use these functions: - at runtime, enable the iCloud capability and update the provisioning profile in Xcode.
- in a test in simulator mode, these functions work as expected, but no data is saved.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|