Alternative titles
- How to download a web page data in Objective-C on iPhone?
- How to read entire content of an html resource file into an
NSString *
- How to download a web page data in Swift?
- Saving HTML pages in an NSString
How do you get web page data and put the data into a string?
Something like:
NSString *webPageBody = GetWebPageData("www.mysite.com/webpage.html");
in the webPageBody
, I would like to see "html my web page html".
Swift 3.0
Swift 2.3
Objective-C