Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I believe this will generate the <a href="http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953-CH3-SW104" rel="nofollow noreferrer"><code>MPMoviePlayerScalingModeDidChangeNotification</code></a>. When you receive the notification, you should check the value of the <a href="http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953-CH3-SW11" rel="nofollow noreferrer"><code>scalingMode</code></a> property to determine which scaling mode the player was switched to.</p> <p><strong>Update</strong>:</p> <p>Looking at the documentation for the <code>MPMoviePlayerController</code> (more specifically, the <a href="http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/c/tdef/MPMovieControlStyle" rel="nofollow noreferrer"><code>MPMovieControlStyle</code></a> enumeration), the button you want to handle seems to be the switch between embedded and full-screen view. This one should generate <a href="http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953-CH3-SW53" rel="nofollow noreferrer"><code>MPMoviePlayerWillEnterFullscreenNotification</code></a> (and the corresponding <code>WillExit</code> and <code>DidEnter</code>/<code>DidExit</code> notifications).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload