Hitting the Done button does not dismiss the View of a MPMoviePlayerController on OS 4.0 beta

Posted by Hakim on Stack Overflow See other posts from Stack Overflow or by Hakim
Published on 2010-06-03T15:23:32Z Indexed on 2010/06/03 15:34 UTC
Read the original article Hit count: 763

Filed under:
|

Hi All

Hope someone can help me on this, on the old OS version 3.0 and down , hitting the done button one playing a Video would automatically dismiss the view, but now since we have to control the view appearance, hitting the Done just stops the movie but does not dismiss the view, I tried to check if it was linked to any notification and found that each time the Done button was hit, MPMoviePlayerPlaybackStateDidChangeNotification is triggered the problem is that the same notification is received for any change of state pausing /playing... so dismissing the view when MPMoviePlayerPlaybackStateDidChangeNotification is triggered is not an option. does anyone have an answer for this problem

Thx for your help

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk