iOS Question how to make b4i animated gif in webView

Albi

Active Member
Licensed User
Longtime User
Hello,
I followed this to get it to work for B4A.
I can't get it to work for B4i - other html files open, so I don't know why this one doesn't.
I've added the files to the files tab.
I replaced the gif with a png and that works fine!
When I try using a gif, there's just a small square (about 20 pixels in size) (just a grey border) at the top left of the webview. I waited to see if the gif needed time to load but it's not that big, and nothing happened.
 

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi.
Do you use File.Combine(File.DirAsset,picturename) in html code (in src for image)?
 
Upvote 0

Albi

Active Member
Licensed User
Longtime User
i've attached the gif here. the size is ok as far as i can tell, and it works fine with b4a
 

Attachments

  • isis.gif
    118.8 KB · Views: 754
Upvote 0

Albi

Active Member
Licensed User
Longtime User
thanks. i'm still on iOS7. I imagine that is why.

edit: actually, i'm a moron, missed a capital letter which is why it wasn't working!!!!11!!
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…