SwiftGif
SwiftGif copied to clipboard
How to stop animating?
I need only one cycle animating, how do to this?
@zhanswift This is covered in Wiki.
@tiwariammit Maybe this code help to you
imageView.animationRepeatCount = 1
yes i got the solution already. By the way thank
See the wiki: https://github.com/bahlo/SwiftGif/wiki/Extended-use for stop the animation after certain animation count.
@tiwariammit Can you please post your solution
@EnesGuerisik hello i didn't use this library. I have animated the collection of images and shown as like gif image.
As I will use a gif only once for a (post)launchscreen, is there a way to stop the gif (loopcount =1) without embedding a framework ? when I see your solution in extended use, the method doesn't seem to get the same properties as the initial example