簡體   English   中英

JQTouch負載遠程html

[英]JQTouch load remote html

如何將遠程 url 加載到 jqtouch 應用程序中。 我嘗試使用 iframe 加載,它適用於 mac safari。 但它不適用於使用 Phonegap 的 iPhone。 有沒有其他方法可以將遠程 html 加載到 Jqtouch 應用程序?

您可以使用 UIWebView 加載內部和外部 html 頁面。 如果你不想弄太多 objective-c,你可以使用 PhoneGap 的 ChildBrowser 插件。 這里有一個關於如何實現它的優秀教程:

http://hiediutley.com/2011/03/30/phonegap-tutorial-series-4-using-a-third-party-plugin/

希望能幫助到你。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM