Instance Property

fullscreen

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

Declaration

@property(nonatomic, getter=isFullscreen) BOOL fullscreen;

Discussion

The default value of this property is NO. 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

The URL that points to the movie file.

Deprecated
movieSourceType

The playback type of the movie.

Deprecated
movieMediaTypes

The types of media available in the movie.

Deprecated
allowsAirPlay

Specifies whether the movie player allows AirPlay movie playback.

Deprecated
airPlayVideoActive

Indicates whether the movie player is currently playing video via AirPlay.

Deprecated
naturalSize

The width and height of the movie frame.

Deprecated
- setFullscreen:animated:

Causes the movie player to enter or exit full-screen mode.

Deprecated
scalingMode

The scaling mode to use when displaying the movie.

Deprecated
controlStyle

The style of the playback controls.

Deprecated
useApplicationAudioSession

A Boolean value that indicates whether the movie player should use the app’s audio session.

Deprecated