Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
I am using the below code to display image from url

NSString *pathimage = vController.currentUrl1;

NSURL *urlImage= [NSURL URLWithStringathimage];

NSData *data = [NSData dataWithContentsOfURL:urlImage];

UIImage *img = [[UIImage alloc] initWithData:data cache:YES];

vController.imageview1.image=img;

But the image is not displayed.Can anyone tell me solution?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.