1、新建一个cocos2d-x项目<IOS>;
2、AppDelegate.cpp 中大约 84行,注释pDirector->setDeviceOrientation(kCCDeviceOrientationLandscapeRight);
3、重载RootViewController.mm 中的 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {return UIInterfaceOrientationIsLandscape( interfaceOrientation );}
4、不需要在Info.plist中添加 Supported interface orientations。