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
相關文章
相關標籤/搜索