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

python - rpy2 import is not working -

javascript - How to get MySQL query result returned using $.ajax -

javascript - How to use the code plugin with popcornjs -