0

I'm developing an iPad app to load a web page (an ERP) and work with it. The problem here is that I can't modify the web page code (big site... 1000 pages or more) but we use all over the site search components that opens new windows where you select a value and it is returned to the opener window.

新しい uiwebview を開くことはここでは問題ではありません。問題は、ユーザーが値を選択したときに webview デリゲートが呼び出されないため、値を取得する方法がわかりません。

私はすでにいくつかの方法を試しました... javascript window.open を上書きして新しいページをフレームにロードしようとしましたが、どちらも機能しませんでした。

誰かが何か考えがありますか?

4

1 に答える 1

0

あなたの問題に答えると思われるこれらのリンクを見つけました:

http://geneindex.keithching.com/2009/07/12/how-to-open-javascript-popup-windows-in-uiwebview/

http://niw.at/articles/2009/02/06/how-to-enable-the-popup-window-on-uiwebview/en

基本的に、「新しいウィンドウで開く」タイプのリンクを uiwebview のクリック可能なリンクに変換する方法を説明しています!

于 2011-04-27T09:40:53.987 に答える