---
title: "initWithZoneIDs:"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/cksyncenginesendchangesscope/initwithzoneids:"
---

# initWithZoneIDs:

Creates a scope that contains only the given zone IDs. If zoneIDs is nil, then this scope contains all zones.

## Declaration

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