I 've an infinite animation (rotating an image, type: CABasicAnimation
) in my UIView with
animation.repeatCount = HUGE_VALF;
When I push a new ViewController and go back to the initial ViewController with the animation containing View inside, the rotation stopped.
Even if I set up the animation again when the ViewController's viewWillAppear
method gets called, it won't rotate again.
What am I doing wrong?