From bc9036d90a1f3f2220b5fc29b77cf2405e7fd781 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Thu, 19 Nov 2015 15:22:30 -0800 Subject: [PATCH] CB-10040 - Compile Error in InAppBrowser Plugin for iOS - No known instance method for selector 'URLIsWhitelisted:' --- src/ios/CDVInAppBrowser.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m index 47a8ab3..e528650 100644 --- a/src/ios/CDVInAppBrowser.m +++ b/src/ios/CDVInAppBrowser.m @@ -231,16 +231,12 @@ - (void)openInCordovaWebView:(NSURL*)url withOptions:(NSString*)options { - if ([self.commandDelegate URLIsWhitelisted:url]) { NSURLRequest* request = [NSURLRequest requestWithURL:url]; #ifdef __CORDOVA_4_0_0 [self.webViewEngine loadRequest:request]; #else [self.webView loadRequest:request]; #endif - } else { // this assumes the InAppBrowser can be excepted from the white-list - [self openInInAppBrowser:url withOptions:options]; - } } - (void)openInSystem:(NSURL*)url