首页 > 其他 > 详细

ExclusiveTouch

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!