我有两个ImageView。第一个是蓝色箭头,第二个是白色圆圈,画有一个黑点代表圆心。我正在尝试旋转箭头,这样它的anchor就是图片中的黑点,就像这样现在我将箭头层的anchor设置为这样计算的点CGFloaty=_userImageViewContainer.center.y-CGRectGetMinY(_directionArrowView.frame);CGFloatx=_userImageViewContainer.center.x-CGRectGetMinX(_directionArrowView.frame);CGFloatyOff=y/CGRectGetHeight(_