#UIControl

UIControl的API

@property(nonatomic,readonly)UIControlStatestate;控件的状态,指定为位掩码值。 @property(nonatomic,getter=isEnabled)BOOLenabled;一个布尔值,指示控件是否已启用。 @property(nonatomic,...
代码星球 ·2020-10-22

UIView的Touch事件UIControlEvents详解

首先,UIControlEvents有这个几种:UIControlEventTouchDown     =1<< 0,   //onalltouchdownsUIControlEventTouchDownRepeat&...