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

userInteractionEnabled是一个骗子

时间:2016-01-12 06:34:13      阅读:217      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!