<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMediaPlayback/endSeeking()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:objc(pl)MPMediaPlayback(im)endSeeking"
  },
  "title" : "endSeeking()"
}
-->

# endSeeking()

Ends forward and backward seeking through the media content.

```
func endSeeking()
```

## Discussion

You must call this method to end a seeking operation begun by calling either the [`beginSeekingBackward()`](/documentation/MediaPlayer/MPMediaPlayback/beginSeekingBackward()) or [`beginSeekingForward()`](/documentation/MediaPlayer/MPMediaPlayback/beginSeekingForward()) method. After calling this method, the player returns to the same state it was in prior to seeking. In other words, if the item was playing before seeking began, it continues playing from the new playhead position after calling this method.

This method has no effect on streamed content.

---

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)