Latest 2.0
Homepage https://github.com/LQi2009/LQRelayoutButton
License MIT
Platforms ios 8.0, requires ARC
Authors

调整UIButton的title和image位置,
在原来的基础上增加了 imageSize 设置 image 的大小,而不是之前的7/8 的大小, 同时添加了 image 的 offset to top or right

添加

手动

将项目中的 LQRelayoutButton 文件夹添加到项目目录即可!

Cocoapods
pod 'LQRelayoutButton'

如果对您有帮助,还请star支持一下

博文讲解

Latest podspec

{
    "name": "LQRelayoutButton",
    "version": "2.0",
    "summary": "u8c03u6574u6807u9898u4f4du7f6eu5728u5de6u548cu5728u4e0bu7684Button",
    "description": "u8c03u6574u6807u9898u4f4du7f6eu5728u5de6u548cu5728u4e0bu7684Buttonuff0cu53efu4ee5u8c03u7528u6269u5c55u65b9u6cd5uff0cu4e5fu53efu4f7fu7528u81eau5b9au4e49u5b50u7c7b",
    "homepage": "https://github.com/LQi2009/LQRelayoutButton",
    "license": "MIT",
    "authors": {
        "LiuQiqiang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/LQi2009/LQRelayoutButton.git",
        "tag": "2.0"
    },
    "source_files": [
        "LQRelayoutButton",
        "LQRelayoutButton/LQRelayoutButton/LQRelayoutButton/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This