Guest User

Untitled

a guest
Jul 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. UIImageView *MyImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0,10, 130.0, 130.0)];
  2.  
  3. UIImage *ImageView = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:strIconImage]]];
  4. //UIImageView *MyImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0,10, 130.0, 130.0)]; //put your size and coordinates here
  5. MyImageView.image=ImageView;
  6. //MyImageView.image = [UIImage imageNamed:@"nohomeimage.png"];
  7. [cell.contentView addSubview: MyImageView];
  8. [MyImageView release];
Add Comment
Please, Sign In to add comment