Zone that the specified query subscription is scoped to.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 6.0+
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
record in that zone.
For zone-based subscriptions, the value of this property is set automatically by the
CKRecord 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.