How do I rotate an image in iPhone programming?
A:
You can rotate a view using a CCGAffineTransform. You can create a rotation matrix by specifying the degrees in radians you want to rotate, then setting the rotation matrix to be the .transform property of your view.
Dan Lorenc
2009-06-09 13:36:18
A:
A great rotation and image UIImage category by Allen Brunson can be found here: http://www.platinumball.net/blog/2009/03/30/iphone-uiimage-rotation-and-mirroring/
Ross
2009-11-15 11:23:32