Why Android platform has 'CCApplication::setOrientation' but iOS don´t?

Hello.

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!

Why?

Thanks

Jose

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/2026
Thank you.

No problem, I will made the settings in my project.

Thanks, James!