UIButton+HitExtension

Extension of UIButton to control it's touch area.


License
WTFPL
Install
pod try UIButton+HitExtension

Documentation

UIButton+HitExtension

CocoaPods

Extension of UIButton to control its touch area.

Installation

Use CocoaPods.

pod 'UIButton+HitExtension'

Usage

Create UIButton, then set hitEdgeInsets.

UIButton *button = [[UIButton alloc] init];
button.hitEdgeInsets = UIEdgeInsetsMake(100.0f, 30.0f, 100.0f, 30.0f);

Congratulations! You're done.

License

UIButton+HitExtension is under WTFPL. You can do what the fuck you want with this shit. See LICENSE file for more info.