Latest 1.2.1
Homepage https://github.com/shoaib-akhtar/UIButton-InspectableHitExtension
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, UIKit
Authors

UIButton-InspectableHitExtension

===================================

CocoaPods

Extension of UIButton to control its touch area.

Installation

Use CocoaPods.

pod 'UIButton+SBAInspectableHitExtension'

Usage

Create UIButton, then set hitTestEdgeInsets.

UIButton *button = [[UIButton alloc] init];
button.hitTestEdgeInsets = UIEdgeInsetsMake(-10.0f, -10.0f, -10.0f, -10.0f);

Create UIButton, using interface builder and set it’s topTouch,leftTouch, bottomTouch and rightTouch.

UIButton+SBAInspectableHitExtension

Congratulations! You’re done.

License

UIButton-InspectableHitExtension is under MIT. See LICENSE file for more info.

Latest podspec

{
    "name": "UIButton+SBAInspectableHitExtension",
    "version": "1.2.1",
    "summary": "Extension of UIButton to control it's touch area.",
    "homepage": "https://github.com/shoaib-akhtar/UIButton-InspectableHitExtension",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Shoaib Akhtar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/shoaib-akhtar/UIButton-InspectableHitExtension.git",
        "branch": "master",
        "tag": "1.2.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This