I have a jquery mobile app that i am wrapping in Phonegap for Iphone/Android store.
I have one page that uses an iframe, which without Phonegap, works just like you would expect.
However, once wrapped, the Iframe actually causes the app to open a new window/browser, and leave the app.
Does anyone know if there is a solution for this ?
THanks!
I have a jquery mobile app that i am wrapping in Phonegap for Iphone/Android
Share
http://denrobapps.com/2010/12/phonegap-and-iframes/
First, open PhoneGapDelegate.m and find this code block:
Insert this else-if right under the first if statement of that block:
Also make sure [[UIApplication sharedApplication] openURL:url] is uncommented in the last else statement (otherwise clicking links in the iFrame will not work):