Return to Snippet

Revision: 34490
at October 23, 2010 05:37 by rabc


Initial Code
NSURL* url = [NSURL URLWithString:@"http://your.image.com"];
NSData* data = [[NSData alloc] initWithContentsOfURL:aURL];
imageView.image = [UIImage imageWithData:data];
[data release];

Initial URL

                                

Initial Description
Load data from url and send it to an UIImage

Initial Title
UIImage from URL

Initial Tags
iphone

Initial Language
Objective C