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

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

    <tfoot id='NVg6V'></tfoot>
    • <bdo id='NVg6V'></bdo><ul id='NVg6V'></ul>

  • <legend id='NVg6V'><style id='NVg6V'><dir id='NVg6V'><q id='NVg6V'></q></dir></style></legend>

        UIWebView 链接点击

        时间:2023-10-22

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

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

                <tbody id='zHuEI'></tbody>

                <bdo id='zHuEI'></bdo><ul id='zHuEI'></ul>

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

                  问题描述

                  在我的应用程序中,某些 HTML 页面加载到 web 视图中.我需要单击某些标签,例如神经元",并且应该在另一个视图中显示它们的描述.如何在 webview 中获取标签点击和点击标签?

                  In my app certain HTML page is loaded in a webview. I need to get click on certain label like "neuron" and should display their description in another view. How Can i get the label click and clicked label in the webview?

                  推荐答案

                  标签"是指链接"吗?如果是这样,给 UIWebView 一个委托并实现 webView:shouldStartLoadWithRequest:navigationType.每当用户点击 UIWebView 中的链接时都会调用它.

                  By "label" do you mean "link"? If so, give the UIWebView a delegate and implement webView:shouldStartLoadWithRequest:navigationType. It will be called any time the user taps a link in the UIWebView.

                  这篇关于UIWebView 链接点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:UIWebView 显示本地存储的网站(HTML、图像、Javascript) 下一篇:有没有办法以编程方式滚动到 UIWebView 中的 PDF 页面?

                  相关文章

                  • <bdo id='D12aO'></bdo><ul id='D12aO'></ul>
                  <legend id='D12aO'><style id='D12aO'><dir id='D12aO'><q id='D12aO'></q></dir></style></legend>

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

                    2. <tfoot id='D12aO'></tfoot>