I need to get all words, which are visible on screen from UIWebView. My UIWebView have html content.
Someone can help me please.
Use following way that will give you all text of UIWebView
.
NSString *yourstring = [webView stringByEvaluatingJavaScriptFromString:
@"document.body.innerText"];
Hope, this will help you...
you can use
NSString *str = [self.youWebView stringByEvaluatingJavaScriptFromString:
@"document.body.textContent"];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With