I need to rotate the UIImageView created by the interface designer when loading the view.
- (void)viewDidLoad { [super viewDidLoad]; image.transform = CGAffineTransformRotate(image.transform, REF_INIT_OFFSET*M_PI/180); }
This rotates the image, but the latter is completely distorted and stretched. If REF_INIT_OFFSET is a multiple of 90, it works great!
Here's what the image should look like (note the needle pointing to "0")

and this is how it actually looks:

it looks like the image is stretched in the wrong direction.
Do you have an idea what's wrong?
thanks,
source share