I have subclassed MPMoviePlayerController...
@interface CustomMoviePlayerController : UIViewController 
{   
    NSURL *movieUrlPath;
    MPMoviePlayerController *mp;    
...
I also have iPad application (with sp开发者_如何学GolitView). On the right side in the center I load this player and start playing movie...
cPlayer = [[CustomMoviePlayerController alloc] initWithUrlPath:title];          
    [self.view addSubview:cPlayer.view];        
    [cPlayer readyPlayer:title];
I have touchBegin/End methods that detect touch on this player and it works, but when I set player in fullscreen it stop detect toucher. Why touches stop detecting in fullscreen?
[cPlayer.mp setFullscreen:YES animated:YES];
When the player enters fullscreen mode, it's no longer attached to the view, but to a new window.
You could listen to MPMoviePlayerDidEnterFullscreenNotification and MPMoviePlayerDidExitFullscreenNotification to do stuff when the player enters fullscreen mode. You could get the player window with [[UIApplication sharedApplication] keyWindow] and add an overlay view with gestures recognizers.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论