嗨,伙计们,我正在尝试使用 UIPanGestureRecognizer 上的以下代码移动 UIImageView
CGPoint pointMove;
pointMove.x = holderView.center.x + (currentPoint.x - lastPoint.x);
pointMove.y = holderView.center.y + (currentPoint.y - lastPoint.y);
holderView.center = pointMove;
lastPoint = currentPoint;
但这会导致移动不顺畅。请帮我