Quote:
Originally Posted by JDave
you mean like this?
Code:
id path = @"http://merrimusings.mu.nu/archives/images/groundhog2.jpg";
NSURL *url = [NSURL URLWithString:path];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *img = [[UIImage alloc] initWithData:data cache:NO];
This is from Sadun's 'site':
Creating an UIImage from a URL - O'Reilly Digital Media Blog
Of course, this code does not:
extra the filename/link from an HTML file
release img after creation
check for reachability
Good Luck.
|
Not Exactly...
For Example i have a site with a content (Texts, images, href links, other..).
how can i get the only text or the only images from this site.
its like you want get all images or the only text that have any wikipedia site.
like you clean the all html source and you only get the images (only that i need get the images path of the site)