1

(ipad 1、iOs 4.3)

私はiPadでこのバグに遭遇しました:MPMoviePlayerControllerをビューに追加してフルスクリーンモードにすると、すべてのムービープレーヤーコントローラーが機能しません(表示されますが、タッチすると機能しません)。 tフルスクリーンモードを終了します

私のコード:

            //Player video
            self.player = [[MPMoviePlayerController alloc] 
                           initWithContentURL:[NSURL fileURLWithPath:self.attachment.path]];

            [[NSNotificationCenter defaultCenter] 
             addObserver:self
             selector:@selector(movieFinishedCallback:)                                                 
             name:MPMoviePlayerPlaybackDidFinishNotification
             object:player];

            [self.player setFullscreen:NO];
            [self.view addSubview:self.player.view];
            [self.player play];

なにか提案を?

4

0 に答える 0