苹果推出的六种手势识别器,让触摸事件的处理变得更加简单。
1.UITapGestureRecognizer(敲击)
2.UIPinchGestureRecognizer(捏合,用于缩放)
3.UIPanGestureRecognizer(拖拽)
4.UISwipeGestureRecognizer(轻扫)
5.UIRotationGestureRecognizer(旋转)
6.UILongPressGestureRecognizer(长按)
1.UITapGestureRecognizer(敲击)
2.UIPinchGestureRecognizer(捏合,用于缩放)
3.UIPanGestureRecognizer(拖拽)
4.UISwipeGestureRecognizer(轻扫)
5.UIRotationGestureRecognizer(旋转)
6.UILongPressGestureRecognizer(长按)