i have an animation that starts out as a plain back ground. when the animation begins, it plays and when it finishes, the screen goes back to the original background. How can i keep the ending image of my animation and set it as my background? Thanks for the help!!
By the way, what i am asking is similar to a childrens book. When the animation finishes, i want the background to stay the same as the very last part of the animation. So it looks like the animation just stops!
Assuming your
NSArrayfor the images is calledimageArrayand yourUIImageViewis calledimageView, try this:That should loop through the images once, and then once it ends, leave the
UIImageViewon the last image. Hope that Helps!