UIPanGestureRecognizer

2016-04-24  本文已影响0人  KGBer

- (CGPoint)locationInView:(nullable UIView*)view;

返回当前触摸点在 view 里的坐标;

- (CGPoint)translationInView:(nullable UIView*)view;

返回当前触摸点的偏移量;

上一篇下一篇

猜你喜欢

热点阅读