---
title: "seek(to:completionHandler:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avplayeritemintegratedtimeline/seek(to:completionhandler:)"
---

# seek(to:completionHandler:)

Seeks to a particular date in the integrated time domain.

## Declaration

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

```swift
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

- [seek(to:toleranceBefore:toleranceAfter:completionHandler:)](avfoundation/avplayeritemintegratedtimeline/seek(to:tolerancebefore:toleranceafter:completionhandler:).md)
