tags:

views:

2240

answers:

2

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
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