I thoght that it’s frame’s oringin decides the position of the view. But when I change the center property like so
myView.center = CGPointMake(myView.center.x - 20, myView.center.y);
my view will move 20 units to left. I want to change the center point to make some rotations relative to that point.
If you want to change the rotation point, set the anchorPoint instead. The anchorPoint is on the layer in the view, but the rotation applied to the view still uses the anchor point.