iPhone cocos2d Tips & Tricks
[[Director sharedDirector] setDeviceOrientation:CCDeviceOrientationLandscapeLeft];
or
[[Director sharedDirector] setLandscape: YES];
or
[application setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated:NO];