objective c - UIWebView get HTML Source -
I'm trying to get the HTML source of a UIWebView without downloading it again (aka another download, Such as [NSData dataWithContentsOfURL: (NSURL *) URL]
or an NSURLRequest launch. Browsing the UIWebView header and documentation, there is no way to access the current loaded NSDT of the source.
The inverse thing you should do is, Load ata object and then Load UIWebView from that object using - Load Data: MIMEType: textEncodingName: baseURL:
Comments
Post a Comment