I am trying to add a user interactive rotation option to iOS app. I don't want to rotate the imageView but want to rotate the UIImage displayed on the imageView. I know how to do it on the imageView.
It is important to add the procedure through which image is provided to the imageView. I first take the image from Camera or Photo Library. Then, I crop the image using a crop tool created. I have followed the following code for the crop:
After the crop I want to rotate the image like Photos Edit option in iPhone. Can anyone help in this regard?