<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?

        how to use windowScriptObject on the iPhone?(如何在 iPhone 上使用 windowScriptObject?)
          <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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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)
                  How to add and get the values from .plist in iOS(如何在 iOS 中从 .plist 添加和获取值)
                  Mobile Device Management with iPhone(使用 iPhone 进行移动设备管理)
                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>
                        <tbody id='5MkXJ'></tbody>

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