insertTimeRanges(_:of:at:)
Inserts the time ranges of multiple source tracks into a track of a composition.
Declaration
func insertTimeRanges(_ timeRanges: [NSValue], of tracks: [AVAssetTrack], at startTime: CMTime) throwsParameters
- timeRanges:
The time ranges of media in the source tracks to insert.
- tracks:
The source asset tracks that contain the media to insert.
- startTime:
A start time within composition the track to insert the time range.