Reputation: 3042
I make an UIImageView animate a series of pictures in a view under control of an UINavigationController.
When push to another view, will this view stops animating automatically?
Upvotes: 0
Views: 520
Reputation: 999
The animation still look running during the a new view is push to the navigation controller. However, when you navigate back to the view, the animation image is no longer visible or stop running. If you want to stop the animation during the push, you can call the [animatedImageView stopAnimating] before the push, and start the animation again by calling [animatedImageView startAnimating] in the view controller method viewWillAppear.
Upvotes: 1
Reputation: 16719
No it doesn't stop animation. You have to do that manually (e.g. in viewDidDisapper).
Upvotes: 1