---
title: "initWithExcludedZoneIDs:"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/cksyncenginefetchchangesscope/initwithexcludedzoneids:"
---

# initWithExcludedZoneIDs:

Creates a scope that includes all zones except the specified excluded zones.

## Declaration

```occ
- (instancetype) initWithExcludedZoneIDs:(NSSet<CKRecordZoneID *> *) zoneIDs;
```
