Contents

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.

See Also

Managing time ranges