save(_:)
Saves a specific record zone.
Declaration
func save(_ zone: CKRecordZone) async throws -> CKRecordZoneParameters
- zone:
The record zone to save.
Return Value
The saved record zone (as it appears on the server).
Discussion
This method throws an error if the request fails, such as when the network is unavailable or the device doesn’t have an active iCloud account.
For information on a more convenient way to save record zones, see modifyRecordZones(saving:deleting:).