I am building my project for ios and android
isetup screen to landscape on both c2 and intel xdk . However when i tild the tablet screen it changes the game rotation. How can i lock it to show landscape only ?
I generally set the orientation in the project properties and with intel xdk also in the export settings.
You sure you set the landscape thing in the intel xdk on the correct tab ?
what kind of tablet are you using the screen oritation for iOS is currently broken in the XDK
volkiller hi , i was reffering to android. but this is a very disturbing news. Fro android it started working again without my intervention
Develop games in your browser. Powerful, performant & highly capable.
So, is there a workaround for ios
What might work is if you make sure you go to full screen before calling the lockOrientation
Ah just remembered how I resolved my issue. I used the screenlock plugin for XDK
https://github.com/yoik/cordova-yoik-screenorientation
thanks
i alerady used a plugin for that thanks anyway for the help