daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #import "ViewController.h"
  2.  
  3. @interface ViewController ()
  4. @property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
  5. @end
  6.  
  7. @implementation ViewController
  8.  
  9. - (void)viewDidLoad {
  10.     [super viewDidLoad];
  11.     UIImage *logo = self.logoImageView.image;
  12.     UIImage *colorLessLogo = [logo imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
  13.     self.logoImageView.image = colorLessLogo;
  14.     self.logoImageView.tintColor = [UIColor orangeColor];
  15. }
  16.  
  17. @end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top