[UIView animateWithDuration:1.0
delay: 0.0
options: UIViewAnimationOptionAllowUserInteraction | UIViewAnimationOptionCurveEaseOut | UIViewAnimationOptionRepeat
animations:^{
self.circle.transform = CGAffineTransformMakeRotation(M_PI * 2.0f);
}
completion:^(BOOL finished){
}];
This animation never starts. Any number I use for the radian angle it seems Cocoa is a bit 'too smart' and either rounds it within the nearest PI or as in the above, decides that there is no need to animate because start and end angle is the same 360=0 degrees. So even if I try doing 359 degrees, the circle just animates 1 degree counter clock-wise, instead of a complete-1 degree rotation.
How can I do a simple continuous 360 degree rotation of my view?
Thanks in advance:)