UIImageView *imgHeadView = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 60, 60)];
    NSURL *url = [NSURL URLWithString:[[NSString alloc]initWithFormat:@"%@%@%@",nstrPublicUrl,@"/uploadfiles/",customerMgr.nsstrImgUrl]];
    NSData *data = [NSData dataWithContentsOfURL:url];
    UIImage *aimage = [[UIImage alloc] initWithData:data];  
    [imgHeadView setImage:aimage];
    [imgHeadView setNeedsDisplay];
    [aimage release];
    [tvCell addSubview:imgHeadView];

 

相关文章:

  • 2021-05-09
  • 2022-12-23
  • 2019-01-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2021-09-10
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案