How can I set the viewport orientation in cocos2d-js 3.0?
I found the variables
cc.UIInterfaceOrientationPortrait
cc.UIInterfaceOrientationLandscapeLeft
cc.UIInterfaceOrientationLandscapeRight
cc.UIInterfaceOrientationPortraitUpsideDown
in CCInputManager.js but no function to actually set them.
And I found this description:
http://www.cocos2d-x.org/wiki/Device_Orientation
but it is different for Android and iOS and that contradicts the cocos run command.