---
title: isFullscreen
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpmovieplayercontroller/isfullscreen
---

# isFullscreen

A Boolean that indicates whether the movie player is in full-screen mode.

## Declaration

```swift
var isFullscreen: Bool { get set }
```

## Discussion

Discussion The default value of this property is false. Changing the value of this property causes the movie player to enter or exit full-screen mode immediately. If you want to animate the transition to full-screen mode, use the setFullscreen(_:animated:) method instead. Whenever the movie player enters or exits full-screen mode, it posts appropriate notifications to reflect the change. For example, upon entering full-screen mode, it posts MPMoviePlayerWillEnterFullscreenNotification and MPMoviePlayerDidEnterFullscreenNotification notifications. Upon exiting from full-screen mode, it posts MPMoviePlayerWillExitFullscreenNotification and MPMoviePlayerDidExitFullscreenNotification notifications. The value of this property may also change as a result of the user interacting with the movie player controls.

## See Also

### Accessing movie properties

- [contentURL](mediaplayer/mpmovieplayercontroller/contenturl.md)
- [movieSourceType](mediaplayer/mpmovieplayercontroller/moviesourcetype.md)
- [movieMediaTypes](mediaplayer/mpmovieplayercontroller/moviemediatypes.md)
- [allowsAirPlay](mediaplayer/mpmovieplayercontroller/allowsairplay.md)
- [isAirPlayVideoActive](mediaplayer/mpmovieplayercontroller/isairplayvideoactive.md)
- [naturalSize](mediaplayer/mpmovieplayercontroller/naturalsize.md)
- [setFullscreen(_:animated:)](mediaplayer/mpmovieplayercontroller/setfullscreen(_:animated:).md)
- [scalingMode](mediaplayer/mpmovieplayercontroller/scalingmode.md)
- [controlStyle](mediaplayer/mpmovieplayercontroller/controlstyle.md)
- [useApplicationAudioSession](mediaplayer/mpmovieplayercontroller/useapplicationaudiosession.md)
