Hello
I’m trying to develop an application for iPad using PhoneGap. I would like to dinamically load inside the index.html page the main page of an external website.
Unfortunately using
window.location.href = "http://mywebsite.com/cgi-bin/index.py"
triggers the opening of a Safari window instead of using the PhoneGap container.
Any suggestions?
Thanks a lot
Claus
Find the AppDelegate.m file in the ‘Classes’ part of the project, and find webView:shouldStartLoadWithRequest:navigationType
Make the function look like this and try again!