Contents

init(zoneID:)

Creates a subscription for all records in the specified record zone.

Declaration

convenience init(zoneID: CKRecordZone.ID)

Parameters

  • zoneID:

    The ID of the record zone that contains the records you want to monitor. This parameter must not be nil.

Discussion

The subscription that this method returns is a zone-based subscription that generates push notifications when CloudKit changes any of the specified record zone’s records.

See Also

Creating a Zone-Based Subscription