H5嵌入webview时遇到的兼容性的坑

楼主在写一个H5项目的时候,按照平时动态设置font-size的原理进行移动端适配。如下: (function() { const ua = navigator.userAgent; const matches = ua.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i); const isIos = navigator.appVersion.match
相关文章
相关标签/搜索