javascript - How to disable horizontal screen in h5 WeChat
世界只因有你
世界只因有你 2017-06-28 09:25:10
0
1
1886
 <meta name="screen-orientation" content="portrait">
 <meta name="x5-orientation" content="portrait">
 

Now that I have added this, it is no problem in UC, but I can still screen horizontally in WeChat. How to solve it?

世界只因有你
世界只因有你

reply all(1)
给我你的怀抱

This is a system function and cannot be disabled by H5. When the screen is horizontal, you can monitor events and give prompt messages.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!