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

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

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

      1. <legend id='LA1FT'><style id='LA1FT'><dir id='LA1FT'><q id='LA1FT'></q></dir></style></legend>

        <tfoot id='LA1FT'></tfoot>

        如何在 iPhone 上使用 windowScriptObject?

        时间:2023-10-21
          <i id='EBV2w'><tr id='EBV2w'><dt id='EBV2w'><q id='EBV2w'><span id='EBV2w'><b id='EBV2w'><form id='EBV2w'><ins id='EBV2w'></ins><ul id='EBV2w'></ul><sub id='EBV2w'></sub></form><legend id='EBV2w'></legend><bdo id='EBV2w'><pre id='EBV2w'><center id='EBV2w'></center></pre></bdo></b><th id='EBV2w'></th></span></q></dt></tr></i><div id='EBV2w'><tfoot id='EBV2w'></tfoot><dl id='EBV2w'><fieldset id='EBV2w'></fieldset></dl></div>

            <tbody id='EBV2w'></tbody>
          1. <small id='EBV2w'></small><noframes id='EBV2w'>

            <tfoot id='EBV2w'></tfoot><legend id='EBV2w'><style id='EBV2w'><dir id='EBV2w'><q id='EBV2w'></q></dir></style></legend>
                <bdo id='EBV2w'></bdo><ul id='EBV2w'></ul>

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

                  问题描述

                  Greetings!

                  I was wondering how I could use javascript code on an iPhone application I was developing. this tutorial illustrated how to use windowScriptObjects for Cocoa application. However, I have been unable to locate something similar for UIWebViews.

                  does this functionality actually exist in Cocoa touch? and if yes, could anyone point me to the right direction as to how I might start using it.

                  thank you once again

                  解决方案

                  Like rpetrich said, this is Non-Public API so the windowScriptObject route might not be the best.

                  I did find this link though, which helped me a lot: https://discussions.apple.com/message/7731057?messageID=7731057�

                  Basically, if you can keep your interactions between HTML and Objective-C entirely based on the user clicking links ( a href="" ) then all of this can be easily communicated between the two.

                  While it would be nice, I agree, to exchange variables and call methods at will, this already gives you a lot to work with. Hope that's useful!

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

                  上一篇:iphone uiwebview 程序化缩放 下一篇:如何从 UIWebView 创建 UIImage

                  相关文章

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

                  <small id='5MkXJ'></small><noframes id='5MkXJ'>

                  <tfoot id='5MkXJ'></tfoot>
                    <bdo id='5MkXJ'></bdo><ul id='5MkXJ'></ul>
                    <legend id='5MkXJ'><style id='5MkXJ'><dir id='5MkXJ'><q id='5MkXJ'></q></dir></style></legend>