I'm building a cocos2d game which is supposed to be in portrait mode. I changed the RootViewController.m to portrait mode:
return ( UIInterfaceOrientationIsPortrait( interfaceOrientation ) );
Everything works fine, both on the simulator and on my iPad. However, when I run the game on my iPhone, it defaults back to landscape mode.
Any ideas on how to fix this?
Thanks.