---
title: "removeAssets(_:)"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phprojectchangerequest/removeassets(_:)-n825"
---

# removeAssets(_:)

Removes assets of a certain type from the collection.

## Declaration

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

## Parameters

- `assets`: The type of assets to remove from the collection.

## See Also

### Removing Assets

- [removeAssets(_:)](photos/phprojectchangerequest/removeassets(_:)-3ytt3.md)
