<!--
{
  "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/MPMoviePlayerWillExitFullscreenNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@MPMoviePlayerWillExitFullscreenNotification"
  },
  "title" : "MPMoviePlayerWillExitFullscreenNotification"
}
-->

# MPMoviePlayerWillExitFullscreenNotification

Posted when a movie player is about to exit full-screen mode.

```
extern NSString * const MPMoviePlayerWillExitFullscreenNotification;
```

## Discussion

The `userInfo` dictionary contains keys whose values describe the transition animation used to exit full-screen mode. See [Fullscreen notification keys](/documentation/MediaPlayer/fullscreen-notification-keys).

A movie player can exit full screen mode programmatically (see the [`setFullscreen(_:animated:)`](/documentation/MediaPlayer/MPMoviePlayerController/setFullscreen(_:animated:)) method) or by user interaction. The movie player whose state has changed is available as the object associated with the notification.

---

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)