Skip to content

wubianxiaoxian/SKFUIbuttoncategory

Repository files navigation

SKFUIbuttoncategory

前几天在写项目的时候,有两个需求,一个是一个按钮不能在短时间内重复点击,另一个需求是扩大按钮的点击区域,利用 Runtime 实现了这两个需求

使用很简单,导入项目中的两个 UIButton 的 Category。

  • 增加按钮点击间隔时间
 self.yourButton.acceptEventInterval=5;
  • 扩大按钮点击区域
[self.yourButton setEnlargeEdgeWithTop:30 right:30 bottom:30 left:30];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published