TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2017 |
Maintained by Suyeol Jeon.
Set UIButton's touch area insets.
The code below expands button's touch area for 20px.
UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 44, 44)];
button.touchAreaInsets = UIEdgeInsetsMake(20, 20, 20, 20);