UIWebView search [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . What is the best way to search for a string of text in a UIWebView ? 回答1: I think that the best to proceed is to: Create a javascript function that will find your text Use the stringByEvaluatingJavaScriptFromString: (see here) method to get the javascript code Call the same