---
title: selectedSpeed
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avplayerviewcontroller/selectedspeed
---

# selectedSpeed

The currently selected playback speed.

## Declaration

```swift
var selectedSpeed: AVPlaybackSpeed? { get }
```

## Discussion

Discussion This value reflects the associated player’s defaultRate property value. If you set the defaultRate to a value that doesn’t match a speed contained in the speeds property, the system sets this value to nil.

## See Also

### Configuring playback speed

- [speeds](avkit/avplayerviewcontroller/speeds.md)
- [selectSpeed(_:)](avkit/avplayerviewcontroller/selectspeed(_:).md)
- [AVPlaybackSpeed](avkit/avplaybackspeed.md)
