javascript - LOck orientation for mobile devices -


How will the orientation for mobile devices be locked using JS, PASA or jquery? . I basically want to lock the landscape mode for my browser based game.

Scale manager class () in a force orientation and a force portrait method is. We generally use an image to ask users to flip their phones. Also, you can hear the wrong orientation signal so that it knows when the game is in an unwanted orientation. Hope this helps :)


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -