- (CGPoint)locationInView:(nullable UIView*)view;
返回当前触摸点在 view 里的坐标;
- (CGPoint)translationInView:(nullable UIView*)view;
返回当前触摸点的偏移量;
- (CGPoint)locationInView:(nullable UIView*)view;
返回当前触摸点在 view 里的坐标;
- (CGPoint)translationInView:(nullable UIView*)view;
返回当前触摸点的偏移量;
本文标题:UIPanGestureRecognizer
本文链接:https://www.haomeiwen.com/subject/bzcalttx.html
网友评论