cocos2d-x 屏幕适配

1、如何改成竖屏?

RootViewController.mm文件中

return UIInterfaceOrientationIsLandscape( interfaceOrientation );

改成

return UIInterfaceOrientationIsPortrait( interfaceOrientation );

原文地址:https://www.cnblogs.com/linji/p/4048550.html