Quantcast
Viewing latest article 3
Browse Latest Browse All 4

Answer by Stavash for How to get data from webpage to NSString

To do this correctly, you need an NSXMLParser that works with the correct tags and takes in the attribute you need parsed. If you're looking for a less generic solution:

    NSString *urlStr = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"http://your.url"] encoding:NSUTF8StringEncoding error:nil];

Viewing latest article 3
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>