<tfoot id='ufcNu'></tfoot>

    <i id='ufcNu'><tr id='ufcNu'><dt id='ufcNu'><q id='ufcNu'><span id='ufcNu'><b id='ufcNu'><form id='ufcNu'><ins id='ufcNu'></ins><ul id='ufcNu'></ul><sub id='ufcNu'></sub></form><legend id='ufcNu'></legend><bdo id='ufcNu'><pre id='ufcNu'><center id='ufcNu'></center></pre></bdo></b><th id='ufcNu'></th></span></q></dt></tr></i><div id='ufcNu'><tfoot id='ufcNu'></tfoot><dl id='ufcNu'><fieldset id='ufcNu'></fieldset></dl></div>

    • <bdo id='ufcNu'></bdo><ul id='ufcNu'></ul>

    <small id='ufcNu'></small><noframes id='ufcNu'>

    1. <legend id='ufcNu'><style id='ufcNu'><dir id='ufcNu'><q id='ufcNu'></q></dir></style></legend>
      1. 如何在 UIWebView 中搜索?

        How can I search in an UIWebView?(如何在 UIWebView 中搜索?)

        <small id='sOFJl'></small><noframes id='sOFJl'>

        <i id='sOFJl'><tr id='sOFJl'><dt id='sOFJl'><q id='sOFJl'><span id='sOFJl'><b id='sOFJl'><form id='sOFJl'><ins id='sOFJl'></ins><ul id='sOFJl'></ul><sub id='sOFJl'></sub></form><legend id='sOFJl'></legend><bdo id='sOFJl'><pre id='sOFJl'><center id='sOFJl'></center></pre></bdo></b><th id='sOFJl'></th></span></q></dt></tr></i><div id='sOFJl'><tfoot id='sOFJl'></tfoot><dl id='sOFJl'><fieldset id='sOFJl'></fieldset></dl></div>
          • <tfoot id='sOFJl'></tfoot>
            <legend id='sOFJl'><style id='sOFJl'><dir id='sOFJl'><q id='sOFJl'></q></dir></style></legend>

              • <bdo id='sOFJl'></bdo><ul id='sOFJl'></ul>

                    <tbody id='sOFJl'></tbody>

                  本文介绍了如何在 UIWebView 中搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要在 UIWebView 控件中显示的 html 页面中执行搜索.我需要的功能是 Safari 具有的功能,当您点击 command/ctrl F 以在文档中搜索某个单词并且程序会为您突出显示这些点击时.这个问题有什么简单的解决方案吗?

                  I need to perform search in an html page displayed in a UIWebView control. The functionality I need is something that Safari has, when you hit command/ctrl F for searching the document for some word and the program highlights the hits for you. Is there any easy solution for this problem?

                  推荐答案

                  我知道你已经很久没有问这个问题了,但这仍然是人们经常遇到的问题,所以我整理了一个示例项目以防其他人正在问同样的问题.该项目是一个超级简单的应用程序,它加载一个 HTML 文件并可以搜索和突出显示任何关键字.您可以在此处下载示例项目:

                  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

                  斯科特

                  更改了上面的链接,因为旧链接已损坏.

                  changed link above as the old one had broken.

                  这篇关于如何在 UIWebView 中搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Getting an NSArray of a single attribute from an NSArray(从 NSArray 获取单个属性的 NSArray)
                  ImageIO: lt;ERRORgt; JPEG Corrupt JPEG data: premature end of data segment iphone - how to catch this?(ImageIO:lt;错误gt;JPEG 损坏的 JPEG 数据:iphone 数据段过早结束 - 如何捕捉到这个?)
                  Xcode iOS organizer submit to app store yields quot;The archive is invalidquot; error(Xcode iOS 管理器提交到应用商店产生“存档无效;错误)
                  MFMessageComposeViewController alloc returns nil(MFMessageComposeViewController alloc 返回 nil)
                  Mobile Device Management with iPhone(使用 iPhone 进行移动设备管理)
                  iPhone: How to allow multiple selection in tabelview for a custom cell?(iPhone:如何允许在自定义单元格的表格视图中进行多项选择?)
                      <tbody id='a2mXT'></tbody>

                    <legend id='a2mXT'><style id='a2mXT'><dir id='a2mXT'><q id='a2mXT'></q></dir></style></legend>
                    <i id='a2mXT'><tr id='a2mXT'><dt id='a2mXT'><q id='a2mXT'><span id='a2mXT'><b id='a2mXT'><form id='a2mXT'><ins id='a2mXT'></ins><ul id='a2mXT'></ul><sub id='a2mXT'></sub></form><legend id='a2mXT'></legend><bdo id='a2mXT'><pre id='a2mXT'><center id='a2mXT'></center></pre></bdo></b><th id='a2mXT'></th></span></q></dt></tr></i><div id='a2mXT'><tfoot id='a2mXT'></tfoot><dl id='a2mXT'><fieldset id='a2mXT'></fieldset></dl></div>
                  1. <tfoot id='a2mXT'></tfoot>
                      • <bdo id='a2mXT'></bdo><ul id='a2mXT'></ul>

                          • <small id='a2mXT'></small><noframes id='a2mXT'>