saveRecordZones
Creates one or more zones in the database.
Declaration
Promise< CloudKit.RecordZonesResponse, CloudKit.CKError > saveRecordZones(
CloudKit.ZoneID|CloudKit.ZoneID[]|String|String[] zones
);Parameters
- zones:
Possible values are:
Type
Description
A zone in the database to save.
CloudKit.ZoneID[]An array of zones to save.
StringThe name of a zone to save.
String[]An array of names of zones to save.
Return Value
A Promise object that resolves to a CloudKit.RecordZonesResponse object if the operation succeeds; otherwise, a CKError object.
Discussion
See Modifying Zones (zones/modify) in CloudKit Web Services Reference.