---
title: "removeChildCollections(_:)"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phcollectionlistchangerequest/removechildcollections(_:)"
---

# removeChildCollections(_:)

Removes the specified child collections from the collection list.

## Declaration

```swift
func removeChildCollections(_ collections: any NSFastEnumeration)
```

## Parameters

- `collections`: An array of doc://com.apple.photokit/documentation/Photos/PHCollection objects (asset collections or other collection lists) to be removed from the collection list.

## Discussion

Discussion This method removes child collections from the collection list based on their identity (determined by the localIdentifier property of each collection). To remove objects at specified indexes, use the removeChildCollections(at:) method.

## See Also

### Managing Collections

- [addChildCollections(_:)](photos/phcollectionlistchangerequest/addchildcollections(_:).md)
- [insertChildCollections(_:at:)](photos/phcollectionlistchangerequest/insertchildcollections(_:at:).md)
- [moveChildCollections(at:to:)](photos/phcollectionlistchangerequest/movechildcollections(at:to:).md)
- [replaceChildCollections(at:withChildCollections:)](photos/phcollectionlistchangerequest/replacechildcollections(at:withchildcollections:).md)
- [removeChildCollections(at:)](photos/phcollectionlistchangerequest/removechildcollections(at:).md)
