iOS Question webview problem

hzchrisfang

Member
Licensed User
Longtime User
I wrote a app which will load html file from File.DirAssets with Webview controller, code is:

B4X:
webview1.LoadUrl("file://" & File.Combine(File.DirAssets, FileName))

When I use debug mode, program runs correctly. But when I build release version and run it, the webview cannot show the html page, what's wrong?

I think the problem is the folder, but it works in B4A and B4i debug mode, so it is a bug or not?
 
Top