---
title: MPMovieTimeOption.nearestKeyFrame
framework: mediaplayer
role: symbol
role_heading: Case
path: mediaplayer/mpmovietimeoption/nearestkeyframe
---

# MPMovieTimeOption.nearestKeyFrame

## Declaration

```swift
case nearestKeyFrame
```

## Discussion

Discussion Generate a thumbnail image using the nearest key frame. This frame could be several frames away from the current frame. This option generally offers better performance than trying to find the exact frame.

## See Also

### Constants

- [MPMovieTimeOption.exact](mediaplayer/mpmovietimeoption/exact.md)
