<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHProjectChangeRequest/removeAssets(_:)-n825",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "s:So22PHProjectChangeRequestC6PhotosE12removeAssetsyyxSlRzSo7PHAssetC7ElementRtzlF"
  },
  "title" : "removeAssets(_:)"
}
-->

# removeAssets(_:)

Removes assets of a certain type from the collection.

```
func removeAssets<T>(_ assets: T) where T : Collection, T.Element == PHAsset
```

## Parameters

`assets`

The type of assets to remove from the collection.

---

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)