<!--
{
  "availability" : [
    "iOS: 3.2.0 - 9.0.0",
    "iPadOS: 3.2.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMoviePlayerPlaybackDidFinishNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@MPMoviePlayerPlaybackDidFinishNotification"
  },
  "title" : "MPMoviePlayerPlaybackDidFinishNotification"
}
-->

# MPMoviePlayerPlaybackDidFinishNotification

Posted when a movie has finished playing. The `userInfo` dictionary of this notification contains the [`MPMoviePlayerPlaybackDidFinishReasonUserInfoKey`](/documentation/MediaPlayer/MPMoviePlayerPlaybackDidFinishReasonUserInfoKey) key, which indicates the reason that playback finished. This notification is also sent when playback fails because of an error.

```
extern NSString * const MPMoviePlayerPlaybackDidFinishNotification;
```

## Discussion

The movie player whose state has changed is available as the object associated with the notification.

This notification is *not* sent when a movie is displaying in fullscreen mode and the user taps Done. The Done button pauses playback and causes the movie player to exit fullscreen mode. To detect this scenario, register for other notifications such as [`MPMoviePlayerDidExitFullscreenNotification`](/documentation/MediaPlayer/MPMoviePlayerDidExitFullscreenNotification).

---

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)