改变按钮的transform 改变角度

self.teamButton.imageView.transform = CGAffineTransformMakeRotation( M_PI);
self.teamButton.imageView.transform = CGAffineTransformMakeRotation(0);

编程技巧