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

 

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

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

    uiimage.image = image;

posted @ 2012-04-27 12:16  worldworld  阅读(227)  评论(0编辑  收藏  举报