Type Function Return value none Revision Release 2022.3683 Keywords iCloud, sync, storage, Key-Value Storage, KVS, synchronize See also iCloud.set() iCloud.get() iCloud.*
Initiates a request to write KVS to local storage, effectively initiating synchronization. This will occur automatically at some point, even if the app is not running, so there is normally no reason to call this unless you want devices to synchronize as fast as possible.
Avoid using this API frequently since it may result in faster battery consumption and/or excessive cellular data usage.
iCloud.synchronize()