Contents

step(byCount:)

Moves the player item’s current time forward or backward by a specified number of steps.

Declaration

nonisolated func step(byCount stepCount: Int)

Parameters

  • stepCount:

    The number of steps by which to move.

    A positive number steps forward, a negative number steps backward.

Discussion

The size of each step depends on the receiver’s enabled AVPlayerItemTrack objects (see tracks).

See Also

Stepping through media