首页 > 其他 > 详细

userInteractionEnabled是一个骗子

时间:2016-01-12 06:32:08      阅读:248      评论:0      收藏:0      [点我收藏+]

如题所说,userInteractionEnabled是一个骗子,我为了她研究一个晚上

A Boolean value that determines whether user events are ignored and removed from the event queue.
When set to NO, user events—such as touch and keyboard—intended for the view are ignored and removed from the event queue. When set to YES, events are delivered to the view normally. The default value of this property is YES.
During an animation, user interactions are temporarily disabled for all views involved in the animation, regardless of the value in this property. You can disable this behavior by specifying the UIViewAnimationOptionAllowUserInteraction option when configuring the animation.
Note:Note
Some UIKit subclasses override this property and return a different default value. See the documentation for that class to determine if it returns a different value.

 

userInteractionEnabled是一个骗子

原文:http://www.cnblogs.com/R0SS/p/5123093.html

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