NSURL * url = [NSURL URLWithString: @"http://www.baidu.com/img/baidu_sylogo1.gif"];
UIImage * image = [UIImage imageWithData: [NSData dataWithContentsOfURL:url]];
NSURL * url = [NSURL URLWithString: @"http://www.baidu.com/img/baidu_sylogo1.gif"];
UIImage * image = [UIImage imageWithData: [NSData dataWithContentsOfURL:url]];
本文标题:UIImage 同步下载图片
本文链接:https://www.haomeiwen.com/subject/mmtoyttx.html
网友评论