how is it possible using html/js to make an iphone native app build with phonegap or other html based app makers to load an url in a navigation controller without leaving the app. (sort of like the fb iphone app)
views:
58answers:
2
A:
Not sure I understand the question... Are you talking about how to use UIWebView ?
TheSquad
2010-09-25 21:22:54
i am trying to use html code to emulate what the in app navigational webview does...
Alx
2010-09-26 06:54:45
So you want to know how to load an html page from a software made with phonegap without openning it on safari ? If this is it, i'm not sure how to do this with phonegap but in objective there is a way to tell your application if weither you want to open urls on safari or not...
TheSquad
2010-09-26 12:49:03
A:
You can use a Plugin in your Xcode project. This one was specifically created by the guys on the PhoneGap team to address the situation you desribe.
Chec out the code in http://github.com/purplecabbage/PhoneGap-Plugins/tree/master/ChildBrowser. This allows you 'spawn' a new controller (from your basic PhoneGap Native app) which pops up and has a browser in the controller. A button allows the user 'close' the view and you return to the native app.
barneymc
2010-09-30 11:22:38