加载远程图片到 View
NSURL *url=[NSURL URLWithString:@"http://..../Icons/icon.ico"];
NSData *data=[NSData dataWithContentsOfURL:url];
UIImage *tmpimage=[[UIImage alloc] initWithData:data];
UIImageView *imageview =[[UIImageView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
imageview.image=tmpimage;
[self.view addSubview:imageview];