This is a bit basic; I am trying to get http data for an iPhone application.
I have a www.myhost.com/test.html that reads
<array><string>test</string><string>test2</string></array>
Then i have
NSURL *baseURL = [NSURLRLWithString:@"http://www.myhost.com/test.html"]; NSArray *array = [NSArray arrayWithContentsOfURL:baseURL]; NSLog(@"%@", [array description]);
Returns (null). What am I missing? Thanks!
source share