I have an animation that I am showing with UIImageView:
imageView.animationImages = myImages;
imageView.animationDuration = 3;
[imageView startAnimating]
I know I can stop him using stopAnimating, but I want him to be able to pause him. The reason is that when you call a stop, none of your animated images are displayed, whereas I would like the latter to be at the time I pressed the button so as not to sleep.
I tried to set the duration to a much larger number, but this also leads to the disappearance of all images. Should there be a really easy way to do this?
source
share