I need to get all the words that are visible on the screen from UIWebView . My UIWebView has html content.
Someone can help me.
Use the following method, which will give you all the text of the UIWebView .
UIWebView
NSString *yourstring = [webView stringByEvaluatingJavaScriptFromString: @"document.body.innerText"];
Hope this helps you ...
you can use
NSString *str = [self.youWebView stringByEvaluatingJavaScriptFromString: @"document.body.textContent"];
Source: https://habr.com/ru/post/915193/More articles:Django multi-user inputs - best approach? - djangoHow to add and manage ROLES in FOSUserBundle? - phpAndroid AsyncTask inside AsyncTask - androidChanging the background color of the lower-ess mode in Emacs - rHow to correctly ignore Import-Module errors in PowerShell - powershellhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/915194/powershell-on-scom-fails-to-import-module&usg=ALkJrhhXVjPgpCCMyuonP9N3A_tVEirlrAUsing the same Symfony 2 form for editing and deletion (field differences) - formsHow to test email logic in Play Framework - javaUsing Mechanize gem to return a collection of links based on their position in the DOM - ruby | fooobar.comWhat are weak global links? How is it different from a global link? - javaAll Articles