iPadアプリを起動すると、可能な限りすべての方向をオンにすることができ、問題なく表示されますすべてが完全に機能しますが、映画を再生した後、iPadを私のビューサイズに回転させようとする理由がわかりませんダウンサイジングで間違って表示されます 2日間試し続けていますが、成功していません 何か考えはありますか? なにか提案を ?以下のコードをご覧
ください。
- (void) moviePlayBackDidFinish:(NSNotification*)notification
{
MPMoviePlayerController *player = [notification object];
self.isMoviePlaying =FALSE;
[[NSNotificationCenter defaultCenter]
removeObserver:self
name:MPMoviePlayerPlaybackDidFinishNotification
object:player];
if ([player respondsToSelector:@selector(setFullscreen:animated:)])
{
[player.view removeFromSuperview];
NSLog(@"played movie has been removed from the super view ");
}
}