ios6 Autorotation not fixed

ios6 Autorotation not fixed
0.0 0


I just created a new project with the most recent stable version of cocos2d-x and it seems that the autorotation problem still has not been fixed. The [window setRootViewController:viewController] does not seem to work and I have tried to use [window addSubview: viewController.view] as well and with no luck.

It is only a template project, so I believe that it should work; however, no matter what I try the simulator is not rotated for landscape. Can someone tell me how I can possibly fix this?



Alright I found my fix :slight_smile: It seems there is something wrong with the method:

It originally returns:

But should return

Found my fix here: