通过URL下载,创建和显示UIImage

在storyboard中创建一个UIImage的outlet,名为uiimage,

    NSURL *url = [NSURLURLWithString:@“http.....”];

    UIImage *image = [UIImageimageWithData:[NSDatadataWithContentsOfURL:url]];

    uiimage.image = image;

原文地址:https://www.cnblogs.com/mybkn/p/2438604.html