You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/07/17 21:09:30 UTC

[cordova-plugin-wkwebview-engine] branch master updated: Revert "CB-13987: (ios) Fix WKWebView doesn't layout properly at… (#107)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-wkwebview-engine.git


The following commit(s) were added to refs/heads/master by this push:
     new dc8b277  Revert "CB-13987: (ios) Fix WKWebView doesn't layout properly at… (#107)
dc8b277 is described below

commit dc8b2777bcea9fe2dce4fe5bac6cf548d9d43621
Author: Darryl Pogue <da...@dpogue.ca>
AuthorDate: Wed Jul 17 14:09:25 2019 -0700

    Revert "CB-13987: (ios) Fix WKWebView doesn't layout properly at… (#107)
---
 src/ios/CDVWKWebViewEngine.m | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m
index b337548..16a0cb7 100644
--- a/src/ios/CDVWKWebViewEngine.m
+++ b/src/ios/CDVWKWebViewEngine.m
@@ -97,13 +97,6 @@
 
     // re-create WKWebView, since we need to update configuration
     WKWebView* wkWebView = [[WKWebView alloc] initWithFrame:self.engineWebView.frame configuration:configuration];
-
-#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000
-    if (@available(iOS 11.0, *)) {
-        [wkWebView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
-    }
-#endif
-    
     wkWebView.UIDelegate = self.uiDelegate;
     self.engineWebView = wkWebView;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org