I have a UIWebView that is used to display Word & Pages documents. I am trying to extract the contents as a NSAttributedString using:
NSString *html = [self.webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML"];This works fine for Word documents, but returns an empty string for Pages documents.
Does anybody know how to correct this, or is it a 'feature'.