Created
October 4, 2014 08:34
-
-
Save Azuritul/191372033608ab86fecb to your computer and use it in GitHub Desktop.
Change icon color programmatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIImage *icon = [[UIImage imageNamed:@"image_name.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; | |
cell.imageView.image = icon; | |
cell.imageView.tintColor = [UIColor colorWithRed:98/255.0f green:126/255.0f blue:255/255.0f alpha:1.0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment