Skip to content

sythn/UIImageWithColor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pod 'UIImage+ImageWithColor'
#import "UIImage+ImageWithColor.h"

…

UIColor *color = [UIColor colorWithWhite:0 alpha:0.33];
UIImage *img = [UIImage imageWithColor:color];
[self.button setBackgroundImage:img forControlState:UIControlStateNormal];

About

[UIImage imageWithColor]

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%