We know that UIImageView
has a very nice support for image sequence animation. We can easily create an array of UIImage objects, set the animationImages>
Furthermore I could recommend setting default image of the UIImageView (property image
) on the first frame of the animation and changing it to the last frame just after launching the animation (startAnimating
method). This way we avoid the ugly blick which can occur when the animation is finished but the callback is not invoked.