<!--
{
  "availability" : [
    "iOS: 3.2.0 - 9.0.0",
    "iPadOS: 3.2.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMovieTimeOption/nearestKeyFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@E@MPMovieTimeOption@MPMovieTimeOptionNearestKeyFrame"
  },
  "title" : "MPMovieTimeOption.nearestKeyFrame"
}
-->

# MPMovieTimeOption.nearestKeyFrame

```
case nearestKeyFrame
```

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)