通过URL下载,创建和显示UIImage
NSURL *url = [NSURLURLWithString:@“http.....”];
UIImage *image = [UIImageimageWithData:[NSDatadataWithContentsOfURL:url]];
uiimage.image = image;
如痴如醉、、、
NSURL *url = [NSURLURLWithString:@“http.....”];
UIImage *image = [UIImageimageWithData:[NSDatadataWithContentsOfURL:url]];
uiimage.image = image;