1. kevin smith 619's Avatar
    MPMoviePlayerController video goes to full screen mode at the time screen is black color. And then the app was blocked. This issue only for iOS 6.0. But iOS 5.1 working fine. This is my code. IF I double click the player full screen is opened, But show black screen.

    Code:
    self.moviePlayerController = [[MPMoviePlayerController alloc] init];
    [self.moviePlayerController.view setFrame:_moviePlayerContentView.bounds]; 
    [self.moviePlayerController setControlStyle:MPMovieControlStyleNone];
    [self.moviePlayerController setAllowsAirPlay:NO];
    [_moviePlayerContentView addSubview:self.moviePlayerController.view];
    [self.moviePlayerController stop];
    [self.moviePlayerController setContentURL:videoURL];
    [self.moviePlayerController.view setHidden:NO];
    [self.moviePlayerController prepareToPlay];
    [self.moviePlayerController play];
    How can I handle this issue?

    After reach MPMovieFinishReasonPlaybackEnded, then How to disable the full screen mode?

    Please help me. Thanks in advance.
    03-27-2013 01:48 AM

Similar Threads

  1. Griffin AutoPilot + iPhone 3.0 = Broken Controls
    By MPIIIMan in forum Accessories
    Replies: 2
    Last Post: 06-23-2009, 08:38 AM
  2. New iPhone Developers
    By btrisosceles in forum The Developer's Lounge
    Replies: 0
    Last Post: 06-20-2009, 12:04 AM
  3. Meet other iPhone Developers on 6/10
    By GloriaP in forum The Developer's Lounge
    Replies: 0
    Last Post: 06-09-2009, 12:13 AM
  4. Iphone Developer
    By transkei in forum The Developer's Lounge
    Replies: 3
    Last Post: 05-07-2009, 05:43 AM
  5. Will the Iphone have a movie cam or not?
    By redsoxfan950 in forum iPhone 4
    Replies: 8
    Last Post: 06-06-2008, 07:20 PM
LINK TO POST COPIED TO CLIPBOARD