I am trying to achieve the ability to lock the device rotation at certain points in my application, for example menu navigation could be done in both portrait and landscape mode but game play would be only in landscape.
Is there anyway to achieve this currently with PhoneGap? Short of having to brute force detect rotation with jquery etc and counter rotate the page?
It would be nice if their is some api call to lock or unlock rotation.
PS. i am using iOS7 and phonegap 3