好久没弄cocos2d-x了.今天闲着蛋疼重新玩了下. 简单说下自己解决iphone5适配的问题,方法很笨,但是挺简单的. 1.在ios目录下的RootViewController.mm文件中加入如下代码 [cpp] view plaincopy // Override to allow orientations other than the default portrait orientation. // This method is deprecated on ios6 - (BOOL)sh