Quote:
Originally Posted by sahil4u91
I've got an image (a straight line) and am trying to rotate it in some angle from a specific point. What happens is that the image is rotated from the center point of itself. I wan't a way through which the base of the image remains the same and it rotates in the angle I want to, just as in case of a clock.
|
look at
imageView.layer.anchorPoint = CGPointMake(x,y);