Instance Method

currentDate()

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

Declaration

func currentDate() -> Date?

Return Value

The current time of the item as an NSDate object, or nil if playback is not mapped to any date.

See Also

Getting Timing Information

func currentTime() -> CMTime

Returns the current time of the item.

var forwardPlaybackEndTime: CMTime

The time at which forward playback ends.

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