iOS Question B4i v6.50 webview text size problem

kisoft

Well-Known Member
Licensed User
HI
Internal WebView is now based on WKWebView. There is also a new EvaluateJavaScript method.
There was a problem displaying text in the web view (HTML file). The text is much smaller than in the old web view. What should be done to ensure that the text is displayed correctly. I don't want to change the properties of HTML files, there are over 1000 of them.
 

kisoft

Well-Known Member
Licensed User
I load the text from an html file
B4X:
WKWebView1.LoadHtml(File.ReadString(File.DirAssets,myfile.html))
Do I need to add this to every html file? Can I add it using code? ... but how do I do it?
 
Upvote 0
Top