Tag Archives: 页面pop

iOS手势识别左滑pop页面的常见处理

在iOS的手势识别中,有时我们要用手势实现页面pop(比如微信的左滑返回),实现时UIGestureRecognizerDelegate,会有这么一个(可选的)方法:
// called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateF[……]

继续阅读