PhoneGap for iPhone: problem loading external URL

I think I’ve found the solution, in the PhoneGap Application Delegate .m file {YourProject}AppDelegate.m, modify the method: – (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { return [super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType]; } with – (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { NSURL *url = [request URL]; if ([[url scheme] isEqualToString:@”http”] || [[url scheme] isEqualToString:@”https”]) { return YES; } … Read more