scale(_:toDuration:)
Changes the duration of a time range in a movie.
Declaration
func scale(_ timeRange: CMTimeRange, toDuration duration: CMTime)Parameters
- timeRange:
The time range to be changed.
- duration:
The new duration for the time range.
Changes the duration of a time range in a movie.
func scale(_ timeRange: CMTimeRange, toDuration duration: CMTime)The time range to be changed.
The new duration for the time range.