---
title: "resetForReading(timeRanges:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetreaderoutput/randomaccesscontroller/resetforreading(timeranges:)"
---

# resetForReading(timeRanges:)

Starts reading over with a new set of time ranges.

## Declaration

```swift
func resetForReading(timeRanges: [CMTimeRange])
```

## Parameters

- `timeRanges`: The time ranges to read

## See Also

### Configuring a controller

- [markConfigurationAsFinal()](avfoundation/avassetreaderoutput/randomaccesscontroller/markconfigurationasfinal().md)
