美文网首页
ExclusiveTouch

ExclusiveTouch

作者: 我是花老虎 | 来源:发表于2016-07-12 00:15 被阅读21次

    Setting this property to true causes the receiver to block the delivery of touch events to other views in the same window. The default value of this property is false.

    就是说如果两个view被同时点击,那么只有一个会得到相应。因为其他的同一个window中的touch事件都被block了。可以解决按钮事件同时被触发的问题。
    下面是一些文章。

    然而无法解决同一个Button被连续点击的问题。。

    相关文章

      网友评论

          本文标题:ExclusiveTouch

          本文链接:https://www.haomeiwen.com/subject/xqbjjttx.html