In the AppDelegate I'm setting;
[[Director sharedDirector] setDeviceOrientation:CCDeviceOrientationLandscapeRight];
The main reason being that I'm trying to prevent the speaker being muffled by the user when using a nearby control. I have a brief bit of video using the MPMoviePlayerController which I have set to show no controls (see below) the issue arises if the user uses the iPhone volume control, during the 3 second video the volume indicator shows upside down.
MPMoviePlayerController *mp = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:moviePath]];
mp.movieControlMode = MPMovieControlModeHidden;
if (mp)
{
[ [ NSNotificationCenter defaultCenter ] addObserver: self selector: @selector(movieFinishedCallback:) name: MPMoviePlayerPlaybackDidFinishNotification object: mp ];
[mp play];
}
Not a show stopper but annoying, I've found a link to make it vertical http://blogs.oreilly.com/iphone/2008/11/the-joys-of-vertical-audio.html but not rotate it 180 degrees. Is this possible?