iPhone iPhone - 4 months ago 5
iOS Question

How to change image by 90 degree on iOS?

When I captured image from camera and after that I shift to another view and when I dismiss that view at that time my image automatically rotated by -90 degree then How can I again rotate to 90 degree and get it into original position?

imageView.transform = CGAffineTransformMakeRotation(3.14/2); 

should help