How to change in the Cocos2d-x project from landscape to portrait both in iOS and Android
iOS:
This is done using XCode project details (select the required
orientation)
Android:
AndroidManifest.xml (android:screenOrientation=portrait)
技术改变世界