<!--
{
  "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/PHAssetCollectionChangeRequest/removeAssets(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetCollectionChangeRequest(im)removeAssets:"
  },
  "title" : "removeAssets(_:)"
}
-->

# removeAssets(_:)

Removes the specified assets from the asset collection.

```
func removeAssets(_ assets: any NSFastEnumeration)
```

## Parameters

`assets`

An array of [`PHAsset`](/documentation/Photos/PHAsset) objects to be removed from the asset collection.

## Discussion

This method removes assets from the collection based on their identity (determined by the [`localIdentifier`](/documentation/Photos/PHObject/localIdentifier) property of each asset). To remove objects at specified indexes, use the [`removeAssets(at:)`](/documentation/Photos/PHAssetCollectionChangeRequest/removeAssets(at:)) method.

> Note:
> Transient asset collections (such as those created with the ``doc://com.apple.photokit/documentation/Photos/PHAssetCollection/transientAssetCollection(with:title:)`` method) do not support adding or removing content.

---

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)