YHDynamicButton
Create a button use YHDynamicButton, it can change button width automatically according it's title,it can Layout by frame or autoLayout.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Plateform iOS, iOS 8.0 latter
Installation
YHDynamicButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YHDynamicButton'
Author
License
YHDynamicButton is available under the MIT license. See the LICENSE file for more info.