iCloud.synchronize()

Type Function
Return value none
Revision Release 2024.3703
Keywords iCloud, sync, storage, Key-Value Storage, KVS, synchronize
See also iCloud.set()
iCloud.get()
iCloud.*

Overview

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.

Important

Avoid using this API frequently since it may result in faster battery consumption and/or excessive cellular data usage.

Syntax

iCloud.synchronize()