Contents

MPMoviePlayerWillExitFullscreen

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

Declaration

static let MPMoviePlayerWillExitFullscreen: NSNotification.Name

Discussion

The userInfo dictionary contains keys whose values describe the transition animation used to exit full-screen mode. See Fullscreen notification keys.

A movie player can exit 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