Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Revert "CB-13987: (ios) Fix WKWebView doesn't layout properly at… (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue authored and janpio committed Jul 17, 2019
1 parent d8c8b3f commit dc8b277
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ios/CDVWKWebViewEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,6 @@ - (void)pluginInitialize

// 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;

Expand Down

0 comments on commit dc8b277

Please sign in to comment.