iOS Question WebView broken in B4i 6.50

martin24

Member
Licensed User
After installing and recompiling my app with B4i 6.50, WebView is no longer able to open local HTML files. Works fine in B4i 6.30.

Used code (open file and jump to anchor):
B4X:
WebView1.LoadUrl("file:///" & sFile & "#stat")

What is required to get this working again?
 

martin24

Member
Licensed User
The files are generated at runtime and stored in File.DirDocuments

Seems that the LoadHtml function is the only way that works. LoadUrl always displays an empty page. Test device is an iPhone 5s, not sure if this makes a difference as it doesn't have the latest version of iOS.

LoadHtml shows everything very very tiny now as the new webview seems to automatically resize the page to fit :(
 
Upvote 0
Top