I got an UIImage inside a UIView. I want to be able to set the orientation of the image based on the X,Y coordinates. I’ve been looking at UIImageOrientation property but it only allows me to use a select number of different orientations (up, down, right, left, etc..) which is not precise enough.
Is there any good way to solve this?
Do you mean that you want to rotate an UIImageView by an arbitrary angle?
If so you can do this: