Latest 1.1.0
Homepage https://github.com/KimDarren/UIButton-Hit
License WTFPL
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

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.

Latest podspec

{
    "name": "UIButton+HitExtension",
    "version": "1.1.0",
    "summary": "Extension of UIButton to control it's touch area.",
    "homepage": "https://github.com/KimDarren/UIButton-Hit",
    "license": {
        "type": "WTFPL",
        "file": "LICENSE"
    },
    "authors": {
        "KimDarren": "[email protected]"
    },
    "source": {
        "git": "https://github.com/KimDarren/UIButton-Hit.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This