---
title: "removeTrackAssociation(to:type:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avmutablecompositiontrack/removetrackassociation(to:type:)"
---

# removeTrackAssociation(to:type:)

Removes an association from a composition track.

## Declaration

```swift
func removeTrackAssociation(to compositionTrack: AVCompositionTrack, type trackAssociationType: AVAssetTrack.AssociationType)
```

## Parameters

- `compositionTrack`: A composition track to remove the association from.
- `trackAssociationType`: The type of track association to remove.

## See Also

### Associating tracks

- [addTrackAssociation(to:type:)](avfoundation/avmutablecompositiontrack/addtrackassociation(to:type:).md)
