Is it possible to prevent "flipping" on the iPhone website via JavaScript / jQuery?

I just don't want the site orientation to change when the iPhone changes orientation.

Is it possible?

+3
source share
2 answers

See this answer on how to use CSS / JS to rotate the display display when the orientation changes. The idea is to capture the orientation event and then return the image to the portrait / landscape again.

How to lock portrait orientation in iPhone web application?

+2
source

JavaScript, ... , , , - .

, , ? , .

+6

Source: https://habr.com/ru/post/1760448/


All Articles