改变拖动范围判定的按钮,默认范围拖动出尺寸70px之外才回触发UIControlEventTouchDragExit、UIControlEventTouchUpOutside、UIControlEventTouchUpOutside方法,这里通过手势和UIConrol事件监听方法综合处理,完美修改按钮的范围。
-
Notifications
You must be signed in to change notification settings - Fork 0
Joker-388/JKRButtonWithDragCancel
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
改变拖动范围判定的按钮
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published