码迷,mamicode.com
首页 > 其他好文 > 详细

ExclusiveTouch

时间:2017-01-14 08:40:42      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:事件   efault   lock   .com   设置   http   event   block   href   

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了。可以解决按钮事件同时被触发的问题。

下面是一些文章。
- ExclusiveTouch的设置与作用

- 【TIP】按钮事件同时触发的解决办法

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

ExclusiveTouch

标签:事件   efault   lock   .com   设置   http   event   block   href   

原文地址:http://www.cnblogs.com/huahuahu/p/ExclusiveTouch.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!