Contents

seek(to:)

Sets the current playback time to the specified time.

Declaration

@MainActor func seek(to time: CMTime)

Parameters

  • time:

    The time to which to seek.

Discussion

The time seeked to may differ from the specified time for efficiency. For sample accurate seeking see seek(to:toleranceBefore:toleranceAfter:).

See Also

Related Documentation

Seeking through media