scaleTimeRange(_:toDuration:)
Changes the duration of a time range of the track.
Declaration
func scaleTimeRange(_ timeRange: CMTimeRange, toDuration duration: CMTime)Parameters
- timeRange:
The time range to scale.
- duration:
A new duration value.
Changes the duration of a time range of the track.
func scaleTimeRange(_ timeRange: CMTimeRange, toDuration duration: CMTime)The time range to scale.
A new duration value.