I'm trying to create an iPad/iPhone-app that displays an iFrame that links to an external site. (It's doesn't have to be in the App Store).
The problem is that when I load the app, it's takes me to Safari.
I know there was a setting in an earlier version of XCode, where you could specify which external hosts was allowed in the app. And that worked!
I can't seem to find the setting in 4.1...
Anybody know where I can locate it?
Cheers!
Phonegap reads a setting called 'ExternalHosts' - this one is used to whitelist allowed external domains.
Open phonegap.plist - the key should be there, if not, simply add it.
Changes to PhoneGap.plist or Cordova.plist
Change/add the following values in PhoneGap.plist or Cordova.plist file of your app.
MediaPlaybackRequiresUserAction: NO
AllowInlineMediaPlayback: YES
OpenAllWhitelistURLsInWebView: YES
and set ExternalHosts list as you require
here i do for showing gopoglemap in app
ExternalHosts