Contents

intersection(_:)

Returns a new time range with the time elements that are common to both this time range and the given time range.

Declaration

func intersection(_ otherRange: CMTimeRange) -> CMTimeRange

Parameters

  • otherRange:

    A time range to intersect.

Return Value

A time range that represents the largest intersection of the input.

See Also

Combining Time Ranges