Instance Property


Zone that the specified query subscription is scoped to.


@property(nonatomic, readonly, copy) CKRecordZoneID *zoneID;


The value of this property applies both to query-based subscriptions and zone-based subscriptions. Specifying a record zone limits the search scope to the records in that zone. In the case of a zone-based subscription, the search encompasses all records in the zone. For a query-based subscription, the search encompasses only records of recordType in that zone.

For zone-based subscriptions, the value of this property is set automatically by the CKRecordZoneSubscription or CKRecordZoneSubscription methods. For all other subscription types, the default value is nil. To apply a zone to a query-based subscription, you must assign a value explicitly.

See Also

Accessing the Subscription Metadata


The record type being monitored in a query-based subscription. (read-only)