iOS Question WebView Formatting

Kevin Hartin

Active Member
Licensed User
My app uses webviews to display lightly formatted HTML syncronised from a web server for things like help pages etc. In B4a I use the WebViewSettings library to reduce the text to a reasonable size, as when I add the <meta name='viewport' content='initial-scale=1.0' /> header, it displays very large, although in a pleasant Sans-Serif font.

On B4i the webviews display in a Serif font and much smaller, so I tried to add the WebViewSettings library, but it crashes on compile, so I assume that it is not campatible with B4i.

The question is, what is the best way to format the webviews in a B4x cross platform app development so that the text is presented at an appropriate and consistent size and with a particulat font?

Is there a fundamental difference between the core libraries of the B4a and B4i webviews?

I see a new very comprehensive library called UltimateWebView that seems to be a B4a only library, is this the way to go?

Thanks,
Kev
 
Top