I\'m animating a pendulum which swings from 0 degrees to max 200 degrees and then back again. The problem is that if the pendulum goes over 180 degrees, it returns to 0 by the s
To get it to go anticlockwise, just set x to a negative value (add - in front) where you want
x
rotationAnimation.toValue = [NSNumber numberWithFloat:degreesToRadians(x)];