摘要:
// 防止多次调用 #define kPreventRepeatClickTime(_seconds_) \ static BOOL shouldPrevent; \ if (shouldPrevent) return; \ shouldPrevent = YES; \ dispatch_after 阅读全文
摘要:
#import "UIButton+touch.h" #import<objc/runtime.h> @interface UIButton() /**bool 类型 设置是否执行点UI方法*/ @property (nonatomic, assign) BOOL isIgnoreEvent; @e 阅读全文