cocos2d-x 屏幕适配

1、如何改成竖屏?

 

RootViewController.mm文件中

return UIInterfaceOrientationIsLandscape( interfaceOrientation );

改成

return UIInterfaceOrientationIsPortrait( interfaceOrientation );

 

posted @ 2014-10-24 16:01  Jerome's Blog  阅读(204)  评论(0编辑  收藏  举报