<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHCollectionList/fetchCollectionListsContaining(_:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHCollectionList(cm)fetchCollectionListsContainingCollection:options:"
  },
  "title" : "fetchCollectionListsContaining(_:options:)"
}
-->

# fetchCollectionListsContaining(_:options:)

Retrieves collection lists that contain the specified collection.

```
class func fetchCollectionListsContaining(_ collection: PHCollection, options: PHFetchOptions?) -> PHFetchResult<PHCollectionList>
```

## Parameters

`collection`

An asset collection or another collection list.

`options`

Options that specify a filter predicate and sort order for the fetched collection lists, or `nil` to use default options. For details, see [`PHFetchOptions`](/documentation/Photos/PHFetchOptions).

## Return Value

A fetch result that contains the requested [`PHCollectionList`](/documentation/Photos/PHCollectionList) objects, or an empty fetch result if no objects match the request.

## Discussion

Different kinds of collections have different containment possibilities. For example, an asset collection whose type is [`PHAssetCollectionType.album`](/documentation/Photos/PHAssetCollectionType/album) may be contained in a folder, or have no containing collection list. A folder, in turn, may be contained in another folder. An asset collection whose type is [`PHAssetCollectionType.moment`](/documentation/Photos/PHAssetCollectionType/moment) is always contained by two collection lists: a moment cluster and a moment year.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)