0

I want to open a url that does not exit the app when it is deployed via Cordova / Phone Gap.

UIWebView

Sample UIWebViewImage

I want to do something similar retain the top NavBar of the app, but without the address bar. When I currently visit a url it will open the whole screen into the app, without back/forward buttons or any of the navbar or tabbar navigation.

Eric H
  • 1,676
  • 3
  • 16
  • 18

1 Answers1

1

You need to use the InAppBrowser of PhoneGap.

Nishanth Nair
  • 2,975
  • 2
  • 19
  • 22
  • Can you comment on why there is no other way like an iFrame or other solution? It has worked for me, but I wish I could still have the NavBar visible instead of a non styled browser open up. – Eric H Apr 15 '13 at 23:51
  • Please see the answer from Troy in this link: http://stackoverflow.com/questions/15212824/how-can-i-open-an-iframe-in-a-phonegap-cordova-app-running-on-ios . he was able to make it work using iframe... But again, InAppBrowser is the PhoneGap way to go..You can check this link too to achieve iframe solution: http://stackoverflow.com/questions/14862948/phonegap-iframe-page-scaling – Nishanth Nair Apr 16 '13 at 00:18