Instance Property


The time at which forward playback ends.


var forwardPlaybackEndTime: CMTime { get set }


The value indicates the time at which playback should end when the playback rate is positive (see AVPlayer’s rate property).

The default value is invalid, which indicates that no end time for forward playback is specified. In this case, the effective end time for forward playback is the item’s duration.

The value of this property has no effect on playback when the rate is negative.

See Also

Getting Timing Information

func currentTime() -> CMTime

Returns the current time of the item.

func currentDate() -> Date?

Returns the current time of the item as an NSDate object.

var reversePlaybackEndTime: CMTime

The time at which reverse playback ends.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software