---
title: MPMoviePlayerWillEnterFullscreen
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/mpmovieplayerwillenterfullscreen
---

# MPMoviePlayerWillEnterFullscreen

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

## Declaration

```swift
static let MPMoviePlayerWillEnterFullscreen: NSNotification.Name
```

## Discussion

Discussion The userInfo dictionary contains keys whose values describe the transition animation used to enter full-screen mode. See Fullscreen notification keys. A movie player can enter full screen mode programmatically (see the setFullscreen(_:animated:) method) or by user interaction. The movie player whose state has changed is available as the object associated with the notification.

## See Also

### MediaPlayer

- [MPMusicPlayerControllerQueueDidChange](foundation/nsnotification/name-swift.struct/mpmusicplayercontrollerqueuedidchange.md)
- [MPMediaLibraryDidChange](foundation/nsnotification/name-swift.struct/mpmedialibrarydidchange.md)
- [MPMediaPlaybackIsPreparedToPlayDidChange](foundation/nsnotification/name-swift.struct/mpmediaplaybackispreparedtoplaydidchange.md)
- [MPMusicPlayerControllerNowPlayingItemDidChange](foundation/nsnotification/name-swift.struct/mpmusicplayercontrollernowplayingitemdidchange.md)
- [MPMusicPlayerControllerPlaybackStateDidChange](foundation/nsnotification/name-swift.struct/mpmusicplayercontrollerplaybackstatedidchange.md)
- [MPMusicPlayerControllerVolumeDidChange](foundation/nsnotification/name-swift.struct/mpmusicplayercontrollervolumedidchange.md)
- [MPMovieDurationAvailable](foundation/nsnotification/name-swift.struct/mpmoviedurationavailable.md)
- [MPMovieMediaTypesAvailable](foundation/nsnotification/name-swift.struct/mpmoviemediatypesavailable.md)
- [MPMovieNaturalSizeAvailable](foundation/nsnotification/name-swift.struct/mpmovienaturalsizeavailable.md)
- [MPMoviePlayerDidEnterFullscreen](foundation/nsnotification/name-swift.struct/mpmovieplayerdidenterfullscreen.md)
- [MPMoviePlayerDidExitFullscreen](foundation/nsnotification/name-swift.struct/mpmovieplayerdidexitfullscreen.md)
- [MPMoviePlayerIsAirPlayVideoActiveDidChange](foundation/nsnotification/name-swift.struct/mpmovieplayerisairplayvideoactivedidchange.md)
- [MPMoviePlayerLoadStateDidChange](foundation/nsnotification/name-swift.struct/mpmovieplayerloadstatedidchange.md)
- [MPMoviePlayerNowPlayingMovieDidChange](foundation/nsnotification/name-swift.struct/mpmovieplayernowplayingmoviedidchange.md)
- [MPMoviePlayerPlaybackDidFinish](foundation/nsnotification/name-swift.struct/mpmovieplayerplaybackdidfinish.md)
