iOS Question [B4XGifView] has a way to disable looping and control speed in iOS?

Carlos marin

Active Member
Licensed User
Longtime User
Hi guys, is there a way to replicate what I saw in the following thread but for iOS?
I can't find the B4XGifView1.GifDrawable property and would like to have control to start, stop and handle the speed of the gif, i'm loading a gif but it takes longer to reproduce the animation than it should, apart from that I don't see how to stop it, maybe it only allows me the option to delete it but it would not be what I require.

Thank you all very much.
 

Gubi

Member
Licensed User
Try this:
B4X:
Dim AnimatedImageView As JavaObject = GifView.mBase.GetView(0)
AnimatedImageView.RunMethod("stopAnimating", Null) 'or startAnimating
Hi Erel, your answer of stopping animation is for android but how can I stop animation for iOS?
 
Upvote 0

Gubi

Member
Licensed User
Thank you Erel it works but is there a possibility that the animation stops after one loop?
 
Last edited:
Upvote 0

Gubi

Member
Licensed User
I've tried before but sometimes it stops right and sometimes it stops too late.
Now I have used WKWebView to make it work because the gif file only has one loop not endless looping.
Thank you Erel
 
Upvote 0
Top