iOS Question LoadURL not working in Release

db0070

Active Member
Licensed User
Longtime User
I have two questions:-

1. The following code works in debug mode, and I can see my picture, but does not work in release mode. why is that?
B4X:
imgArr.LoadUrl("file://" & File.Combine(File.DirAssets, arrURL(counter)))

2. Then I used this code, and this works in release and debug, so problem solved. The image I am displaying is animated gif image which loops once. How do I get it to loop again if the user clicks on it?

B4X:
    linktoimage = File.Combine(File.DirAssets, arrURL(counter))
    imgArr.LoadHtml("<html><head></head><body><img src=' " & linktoimage & " '></body></html>")
 
Top