I loaded a file on uiWebView. Its extension type is ".pages". Now I trying to get HTML string from webview, but it returns to empty string. For ".doc or .docx" files getting the String. It happens to ".pages" extension only.
Thanks in Advance,
I loaded a file on uiWebView. Its extension type is ".pages". Now I trying to get HTML string from webview, but it returns to empty string. For ".doc or .docx" files getting the String. It happens to ".pages" extension only.
Thanks in Advance,
NSString *html = [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML"];
Refer this post - Reading HTML content from a UIWebView