¡@

Home 

2014/10/15 ¤U¤È 10:11:33

iphone Programming Glossary: mpmovieplayerdidexitfullscreennotification

Properly displaying and dismissing fullscreen MPMoviePlayerController in iOS 3.2 (iPad)

http://stackoverflow.com/questions/3239231/properly-displaying-and-dismissing-fullscreen-mpmovieplayercontroller-in-ios-3-2

Here are how the events notifications work User presses 'Done' button MPMoviePlayerWillExitFullscreenNotification MPMoviePlayerDidExitFullscreenNotification User presses 'Leave fullscreen' button on transport MPMoviePlayerWillExitFullscreenNotification MPMoviePlayerDidExitFullscreenNotification.. User presses 'Leave fullscreen' button on transport MPMoviePlayerWillExitFullscreenNotification MPMoviePlayerDidExitFullscreenNotification Note that playback does not stop Movie reaches end MPMoviePlayerPlaybackDidFinishNotification with the MPMoviePlayerPlaybackDidFinishReasonUserInfoKey.. object nil NSNotificationCenter defaultCenter addObserver self selector @selector exitedFullscreen name MPMoviePlayerDidExitFullscreenNotification object nil NSNotificationCenter defaultCenter addObserver self selector @selector playbackFinished name MPMoviePlayerPlaybackDidFinishNotification..

MPMoviePlayerController still leaking

http://stackoverflow.com/questions/3384388/mpmovieplayercontroller-still-leaking

object myMoviePlayer NSNotificationCenter defaultCenter removeObserver self name MPMoviePlayerDidExitFullscreenNotification object myMoviePlayer NSNotificationCenter defaultCenter removeObserver self name MPMoviePlayerLoadStateDidChangeNotification..

MPMoviePlayerController re-orientation portrait to landscape and back to portrait (iOS 4.1)

http://stackoverflow.com/questions/3960665/mpmovieplayercontroller-re-orientation-portrait-to-landscape-and-back-to-portrai

original view autorotated but I don't want this auto rotation. A partial but not acceptable solution is to listen for MPMoviePlayerDidExitFullscreenNotification and if the interface is rotated to landscape force re orientation to using the undocumented and private function UIDevice..

MPMoviePlayerPlaybackDidFinishNotification not being called

http://stackoverflow.com/questions/5909138/mpmovieplayerplaybackdidfinishnotification-not-being-called

MPMoviePlayer done button issue

http://stackoverflow.com/questions/6142571/mpmovieplayer-done-button-issue

c ios mpmovieplayercontroller share improve this question You can do that by adding a notification handler on MPMoviePlayerDidExitFullscreenNotification as that notification gets sent once the user taps on the DONE Button. Somewhere in your initializer NSNotificationCenter.. initializer NSNotificationCenter defaultCenter addObserver self selector @selector MPMoviePlayerDidExitFullscreen name MPMoviePlayerDidExitFullscreenNotification object nil Now implement that handler void MPMoviePlayerDidExitFullscreen NSNotification notification NSNotificationCenter..