//Start 180 degrees rotation
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
refreshArrow.transform = CGAffineTransformMakeRotation(M_PI);
[UIView commitAnimations];
//Start 180 degrees rotation
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
refreshArrow.transform = CGAffineTransformMakeRotation(M_PI);
[UIView commitAnimations];