addTrackAssociation(to:type:)
Establishes a track association of a specific type between two tracks.
Declaration
func addTrackAssociation(to compositionTrack: AVCompositionTrack, type trackAssociationType: AVAssetTrack.AssociationType)Parameters
- compositionTrack:
A composition track to associate.
- trackAssociationType:
The type of track association to create between tracks.