Type Function Return value none Revision 2017.3060 Keywords iCloud, sync, storage, CloudKit, recordCreateZone See also iCloud.recordCreate() iCloudRecordEvent iCloud.*
In order to group records by zones, you must first create a zone using this function. Results will be passed to an optional onComplete
listener function as an iCloudRecordEvent.
iCloud.recordCreateZone( params )
Table. Table containing
Valid keys for the params
table include:
zoneName
— Required string value indicating the zone name.
zoneOwner
— Optional string value indicating the zone's owner.
database
— Optional string value. If this string is "public"
, the public database will be used instead of a private database. Records in the public database can be accessed/shared by other users.
containerId
— Optional string value indicating a specific iCloud Container. Do not pass this parameter if you have only one iCloud Container associated with your app.
onComplete
— Optional listener function to be invoked with an iCloudRecordEvent.