Contents

removeTrack(_:)

Removes a specified track from the composition.

Declaration

func removeTrack(_ track: AVCompositionTrack)

Parameters

  • track:

    The track to remove.

Discussion

When you remove a track, the system sets its composition value to nil.

See Also

Managing composition tracks