```
mainScrollView.panGestureRecognizer.requireGestureRecognizerToFail(navigationController!.interactivePopGestureRecognizer!)
```
即优先右滑返回
```
mainScrollView.panGestureRecognizer.requireGestureRecognizerToFail(navigationController!.interactivePopGestureRecognizer!)
```
即优先右滑返回
本文标题:一句代码解决scrollview滑动与右滑返回手势冲突
本文链接:https://www.haomeiwen.com/subject/ojzmqttx.html
网友评论