I am programming in Xcode 6 and use objective-c.
I want to load the html code from a page. There are more answers on this questions, but when I try them they only load a part of the page.
I have tried the best answer of the following question: Reading HTML content from a UIWebView
When I try this I only get a part of the HTML string. I even tried:
NSString *html = [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML"];
When I view the HTML code on my pc I open firefox and press F12. When I do that I get much more HTML code then from the UIWebView.
Is there any option in UIWebview or even objective-c to get ALL HTML code?
Is it possible to extract mail addresses from the HTML file using Javascript and stringByEvaluatingJavaScriptFromString:?