识别手势有两种实现方式:
1.手势识别器(UIGestureRecognizer)
2.触摸事件(UITouch)
手势识别器是一种抽象类,含有7个具体类
1.UITapGestureRecognizer
2.UIPinchGestureRecognizer
3.UIPanGestureRecognizer
4.UISwipeGestureRecognizer
5.UILongPressGestureRecognizer
6.UIRotationGestureRecognizer
7.UIScreenEdgePanGestureRecognizer
扫描二维码关注公众号,回复:
2333542 查看本文章
![](/qrcode.jpg)