摘要: 引入 在项目中经常能用到一个功能,就是对于按钮的点击时间间隔控制,如果不控制,什么时候点击都会触发事件,一般一秒内允许按钮点击1到3次; 这里就需要用Runtime实现,下面是我基于UIButton创建的一个分类: .h #import <UIKit/UIKit.h> @interface UIBu 阅读全文
posted @ 2021-01-09 17:37 macroK 阅读(293) 评论(0) 推荐(1) 编辑