GestureViews ImageView and FrameLayout with gestures control and position animation. Main goal of this library is to make images viewing process as smooth as possible and to make it easier for developers to integrate it into their apps. Features Ges
前言
在iOS中,你可以使用系统内置的手势识别(GestureRecognizer),也可以创建自己的手势.GestureRecognizer将低级别的转换为高级别的执行行为,是你绑定到view的对象,当发生手势,绑定到的view对象会响应,它确定这个动作是否对应一个特定的手势(swipe,pinch,pan,rotation).如果它能识别这个手势,那么就会向绑定它的view发送消息,如下图
UIKit框架提供了一些预定义的GestureRecognizer.包含下列手势
UIT