| Number of watchers on Github | 72 |
| Number of open issues | 1 |
| Average time to close an issue | 8 months |
| Main language | Objective-C |
| Average time to merge a PR | 5 months |
| Open pull requests | 1+ |
| Closed pull requests | 0+ |
| Last commit | almost 4 years ago |
| Repo Created | almost 6 years ago |
| Repo Last Updated | about 2 years ago |
| Size | 251 KB |
| Organization / Author | filipstefansson |
| Latest Release | 1.01 |
| Contributors | 3 |
| Page Updated | 2018-03-24 |
| Do you use UITintedButton? Leave a review! | |
| View UITintedButton activity | |
| View on github | |
| Fresh, new opensource launches 🚀🚀🚀 | |
|
Trendy new open source projects in your inbox!
View examples
|
|
Ever wanted to tint a UIButton like you do with a UIBarButtonItem or a UINavigationItem? Here you go!

This category adds two instance methods and two class methods to UIButton:
-(void)setImageTintColor:(UIColor *)color forState:(UIControlState)state;
-(void)setBackgroundTintColor:(UIColor *)color forState:(UIControlState)state;
+(void)tintButtonImages:(NSArray *)buttons withColor:(UIColor *)color forState:(UIControlState)state;
+(void)tintButtonBackgrounds:(NSArray *)buttons withColor:(UIColor *)color forState:(UIControlState)state;
pod 'UITintedButton'
Drag UIButton+tintImage.h and UIButton+tintImage.m.
#import UIButton+tintImage.h
// Tint single buttons
[button setImageTintColor:[UIColor redColor] forState:UIControlStateNormal];
[button setBackgroundTintColor:[UIColor redColor] forState:UIControlStateNormal];
// Tint multiple buttons
[UIButton tintButtonImages:@[button1, button2, button3] withColor:[UIColor redColor] forState:UIControlStateNormal];
[UIButton tintButtonBackgrounds:@[button1, button2, button3] withColor:[UIColor redColor] forState:UIControlStateNormal];