Contents

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.

See Also

Managing time ranges