Ive got a UIImage that is animated with 26 images in a perpetual loop.
On top of that, the image is accelerated (when tilting the iphone, the imaged goes to the right or the left).
I want to be able to pause and resume the animation by the press of a button, but I cant find a pause-function for animated uiimages.
The problem with [myImage stopAnimating]; is that the image disappears completely - I need it to stay on the screen.
I could probably put another static image with the correct image-frame in the position where the animation was last, but that would be an awful lot of work compared to a pause-function...
On top of that, the image is accelerated (when tilting the iphone, the imaged goes to the right or the left).
I want to be able to pause and resume the animation by the press of a button, but I cant find a pause-function for animated uiimages.
The problem with [myImage stopAnimating]; is that the image disappears completely - I need it to stay on the screen.
I could probably put another static image with the correct image-frame in the position where the animation was last, but that would be an awful lot of work compared to a pause-function...