NSURL *url=[NSURLURLWithString:@"http://demo.gnway.com:8000/Icons/5.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];
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];