我可以知道究竟需要什么样的认可才能做到这一点? [英] May I know what exactly requireGestureRecognizerToFail will do?

查看:90
本文介绍了我可以知道究竟需要什么样的认可才能做到这一点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我下面的代码行究竟是做什么的吗?我已经提到苹果文档,但没有得到关于此的确切图片,

Can any one let me know what exactly the below code line will do? I have referred Apples documentation but didn't get the exact picture about this,

[scrollview.panGestureRecognizer requireGestureRecognizerToFail:swipeRightGesture];


推荐答案

当用户做出正确的滑动手势然后平移手势将失败(被忽略)。

When user make a right swipe gesture then pan gesture will be failed (ignored).

这篇关于我可以知道究竟需要什么样的认可才能做到这一点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆