0

Possible Duplicate:
MPMoviePlayerController seek forward in fullscreen mode until end is stuck

When I do fast forward in full screen mode in MPMoviePlayerController screen turns black and then I cant do any thing.

this is a major issue I am facing ,please help me.

4

1 回答 1

0

线索是处理 // 注册以在电影播放完毕时接收通知。

[[NSNotificationCenter defaultCenter] addObserver:self  
                                     selector:@selector(moviePlayBackDidFinish:)  
                                         name:MPMoviePlayerPlaybackDidFinishNotification  
                                       object:moviePlayer]


- (void) moviePlayBackDidFinish:(NSNotification*)notification {  
  MPMoviePlayerController *moviePlayer = [notification object];  
  [[NSNotificationCenter defaultCenter] removeObserver:self  
                                                  name:MPMoviePlayerPlaybackDidFinishNotification  
                                                object:moviePlayer];  

    [moviePlayer dismissVC];  
  [moviePlayer release];  
  }     
于 2012-12-14T10:26:09.363 回答