Contents

recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock

The closure to execute when a user-invoked account reset deletes a record zone.

Declaration

var recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock: ((CKRecordZone.ID) -> Void)? { get set }

Discussion

The closure returns no value and takes a single parameter: the deleted record zone’s ID.

The operation executes this closure, instead of recordZoneWithIDWasDeletedBlock, after a user action causes CloudKit to delete the record zone. Reupload any locally cached data to iCloud to minimize data loss.

See Also

Processing the Operation’s Results