"Animate rotation"

Thu 07 October 2010

//Start 180 degrees rotation

[UIView beginAnimations:nil context:NULL];

[UIView setAnimationDuration:0.2];

 

refreshArrow.transform = CGAffineTransformMakeRotation(M_PI);

 

[UIView commitAnimations];