NSString *str = [self.allDataArray[indexPath.row]objectForKey:@"pic_url"];
UIImage *image=[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:str]]];
cell.headImageView.image=image;
NSString *str = [self.allDataArray[indexPath.row]objectForKey:@"pic_url"];
UIImage *image=[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:str]]];
cell.headImageView.image=image;
本文标题: 通过网址来得到网络图片
本文链接:https://www.haomeiwen.com/subject/yegflttx.html
网友评论