For Android,
http://lexandera.com/2009/01/extracting-html-from-a-webview/
For iOS,
http://stackoverflow.com/questions/5167254/getting-the-html-source-code-of-a-loaded-uiwebview
NSString *yourHTMLSourceCodeString = [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML"];
Question: How to with WKWebView?
No comments:
Post a Comment