Contents

seek(to:completionHandler:)

Seeks to a particular date in the integrated time domain.

Declaration

func seek(to date: Date, completionHandler: (@Sendable (Bool) -> Void)? = nil)
func seek(to date: Date) async -> Bool

Parameters

  • date:

    A date represented in the integrated time domain.

  • completionHandler:

    A callback the system invokes after the seek completes. It passes a Boolean value of true if the playhead moved to the new date.

See Also

Seeking