Return to Snippet

Revision: 20113
at November 7, 2009 19:57 by suibhne

Initial Code
NSString* imageURL = @"";
NSData* imageData = [[NSData alloc]initWithContentsOfURL:[NSURL URLWithString:mapURL]];
UIImage* image = [[UIImage alloc] initWithData:imageData];
[imageView setImage:image];
[imageData release];
[image release];

Initial URL

Initial Description
Populate a UIImageView with an image taken from a URL.

Initial Title
Populate UIImageView from URL

Initial Tags

Initial Language
Objective C