Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android端webview相关问题总结 #37

Open
damoclesX opened this issue Nov 30, 2017 · 0 comments
Open

android端webview相关问题总结 #37

damoclesX opened this issue Nov 30, 2017 · 0 comments
Labels

Comments

@damoclesX
Copy link
Owner

damoclesX commented Nov 30, 2017

内嵌网页在android的webview时也会出现各种预想不到的问题

iframe内容不加载

重写shouldoverrideurlloading返回false

canvas绘制不同源的文件导致toDataUrl报错

线上图片access-control-allow-origin
本地图片(或者其他canvas导出的base64编码的图片)setAllowFileAccessFromFileURLs

系统设置字体大小影响webview基于rem布局

webview.webSettings.setTextZoom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant