H5 page is compatible with the mobile end, and the media query used has no problem on Android, but on ios, the page layout displayed is still PC side. It seems that meta name= "viewport" does not work. Which god guides the reason
H5 page is compatible with the mobile end, and the media query used has no problem on Android, but on ios, the page layout displayed is still PC side. It seems that meta name= "viewport" does not work. Which god guides the reason
is there a problem with meta's writing
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
paste the code up and let people analyze it
Thank you, the problem is solved, or there are some problems with your own page layout. Throughout the project, I feel that ios has higher requirements for H5 than Android
.Previous: How to solve the problem when the page on html5 web is zoomed out and Baidu map is reduced?
the style displayed on the ios shows the result of the style on the PC side. I use var nWidth = window.innerWidth in the js file | | document.documentElement.clientWidth; if(nWidth > 500){ alert( pc ) }else{ alert( miblie ) } pc ...
1. Describe the problem requirements as above, and the backend interface needs my post format as follows: { type : *** , list : [ { filename : *** , filedata : File } ] } 2. I have...
iphone uses download with a tag as well as address jump and iframe to directly open files and kneel for answers. How to use js to download files on iphone browsers ...
when a video is played you want to stop playing a video by clicking on a location using VideoContext.stop () has no effect at all see someone offering this idea: _this.videoContext.seek(0) _this.videoContext.pause(); ** * * * palyVi...