I´m developing two games, one in portrait orientation and the other one in landscape, for Android and iOS.
For my surprise, Android platform has ‘CCApplication::setOrientation’ but iOS don´t!
Ah, CCApplication::setOrientation was removed from v2.0, you should set orientation at XCODE project setting.We forgot to delete it, sorry about to make you confused.I will remove it ASAP.
Fixed at https://github.com/cocos2d/cocos2d-x/pull/2026Thank you.
No problem, I will made the settings in my project.