Closed niennonno closed 6 years ago
I have a gif which I am running for one cycle of animation. Once the animation is completed, I want to freeze the last animation image on my imageView. How can I achieve that?
Figured out.
After the completion, pick out the last image from the array and set it in the following manner: imageView.image = imageArray.last
imageView.image = imageArray.last
I have a gif which I am running for one cycle of animation. Once the animation is completed, I want to freeze the last animation image on my imageView. How can I achieve that?