Last active
January 19, 2019 03:16
-
-
Save Ibrahimhass/1c9fb6bbda4b74aad5ac1cb97286094f to your computer and use it in GitHub Desktop.
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
#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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment