View Full Version : Disable orientation change for Safari

7 Dec 2010, 8:41 AM

I actually try to disable the orientation change for my application. In fact, it works but not in the way I want it. Safari change the orientation even if the application has been disable for orientation change.

Does it exist a method to cancel the orientation change from the navigator, safari for this example.

Thanks for your help,

7 Dec 2010, 10:41 AM
Safari will always change the orientation. The only possible way to restrict orientation may be to use something like phone gap(*not sure if it would work*). Javascript doesn't have the access to completely limit orientation change at the application level.