Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "ViewController.h"
- @interface ViewController ()
- @property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
- @end
- @implementation ViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- UIImage *logo = self.logoImageView.image;
- UIImage *colorLessLogo = [logo imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
- self.logoImageView.image = colorLessLogo;
- self.logoImageView.tintColor = [UIColor orangeColor];
- }
- @end
Add Comment
Please, Sign In to add comment