I changed UIWebView to WKWebView,however,with the same html,the font in WKWebView looks like smaller than in UIWebView.I don't want this happen,so is there any way to avoid this change?
相关问题
- Views base64 encoded blob in HTML with PHP
- CALayer - backgroundColor flipped?
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
Simple way to do this in Swift
Just simply call this method and magic happen. ;)
OUTPUT:
Finally I solved this problem by adding an html string:
What's more,if you want to load url rather than html you can try: