The current playback rate.
SDKs
- iOS 4.0+
- macOS 10.7+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
Discussion
A value of 0
pauses the video, while a value of 1
plays the current item at its natural rate. Rates other than 0
and 1
can be used if the associated player item returns YES
for the AVPlayer
properties can
or can
. Negative rate value ranges are supported if the player item returns YES
for the can
, can
, and can
properties.