I am using the following lines of code to download and save an html page ::
NSURL *goo = [[NSURL alloc] initWithString:@"http://www.google.com"];
NSData *data = [[NSData alloc] initWithContentsOfURL:goo];
What is actually contained in this data ?? Does it also contain CSS files and images that are displayed on the google homepage ?? I tried to NSLog this data but the result was not useful. I mean I could no tunderstand the result displayed in the gdb.
Try to convert
NSDatatoNSStringand thenNSLogit you will see what actually data contains