Latest 0.0.1
Homepage https://github.com/xiaobadao/UIButtonHitReact
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit, Foundation

Swift 版本 、扩大button 点击范围。支持 pod 安装。
只需要调用 setEnlargeEdgeWithTop(top:CGFloat,right:CGFloat,bottom:CGFloat,left:CGFloat)方法。分别传入对应的数字。就可以对当前button点击范围的一个放大。

Latest podspec

{
    "name": "UIButtonHitReact",
    "version": "0.0.1",
    "summary": "u6269u5927buttonu70b9u51fbu8303u56f4",
    "description": "Swift u7248u672c u3001u6269u5927button u70b9u51fbu8303u56f4u3002u652fu6301 pod u5b89u88c5u3002",
    "homepage": "https://github.com/xiaobadao/UIButtonHitReact",
    "license": "MIT",
    "authors": "chenglong",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/xiaobadao/UIButtonHitReact.git",
        "tag": "0.0.1"
    },
    "swift_version": "4.2",
    "source_files": "UIButtonHitReact/Hit/*.swift",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This