How can I search in an UIWebView?

泄露秘密 提交于 2019-11-30 10:47:47

I know it's been a long time since you asked this question, but it's still a pretty common question people have so I put together a sample project in case anyone else is asking the same question. The project is a super simple app that loads an HTML file and can search and highlight any keyword. You can download the sample project here:

https://www.dropbox.com/s/jietctrvrtnec28/TheSearcher.zip?dl=0

Scott

Edit: changed link above as the old one had broken.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!