Rotating CAShapeLayer moves the position too
问题 I am creating a CAShapeLayer. I am adding rotation animation to it. Somehow transformation result is weird. The child layer is moving along with rotation. I need it to be in fixed center/position(anchor) and rotate. I know its messing up geometric transformation but i am unable to get it right. I have tried setting anchorpoint. I also followed this post Here is the code: UIBezierPath *circle = [UIBezierPath bezierPathWithArcCenter:CGPointMake(75, 125) radius:50 startAngle:0 endAngle:1.8 * M