iOS Question Load Html error

Giusy

Active Member
Licensed User
Hi,
I load html file with this code:
B4X:
    stringa="myfile.html"
    WebView1.Loadurl("file://" & File.Combine(File.DirAssets, stringa))
    panelWEB.AddView(WebView1, 0, 0, panelWEB.Width, panelWEB.Height)
In debug mode it work very well, but in release mode (Tools-Build Server - Buil release app) I have a white page.
How to correct the error?
Thanks
 

Giusy

Active Member
Licensed User
Hi @Erel,
I tried the method you suggested, but the result is the same.
In debug mode everything is ok while in release mode a blank page appears.
With double-ckick on the white page, the same is automatically reduced in size.
I have attached the two sample programs, mine and yours

Thank you
 

Attachments

  • HtmlLoadUrl.zip
    5.5 KB · Views: 213
  • HtmlWithXUI.zip
    5.5 KB · Views: 214
Upvote 0
Top