View Full Version : Iphone Orientation Change

24 Jun 2011, 1:12 AM
I am developing a mobile web application and i want to disable orientation facilty in iphone.So is there any way to disable orientation event in iphone ?

24 Jun 2011, 2:18 AM
i think it's the same like on Android. Inside your phonegap project you should be able to manipulate the manifest.xml, on Android i set


24 Jun 2011, 5:34 AM
How are you accessing your application? through a web browser? or do you build an application with e.g. phonegap?

First case: I think you can't influence the webbrowser.

Second case: you've got to address this first on the native side. Have a look here: http://wiki.phonegap.com/w/page/35501397/Tutorials . There are tutorials for both iPhone and Android. The tutorials are not specific to phonegap.