change image in UIImageView


/ Published in: Objective C
Save to your folder(s)

Change everywhere in your viewController, the UIImageView's image


Copy this code and paste it in your HTML
  1. UIImage *image = [UIImage imageNamed:@"image.png"];
  2. if (image != nil)
  3. {
  4. self.backgroundImageView.image = image;
  5. }
  6. else
  7. {
  8. NSLog(@"no image");
  9. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.