Skip to content

Commit

Permalink
Merge branch 'changes/disable-inset-adjust' into apicore/7.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gazben committed Apr 22, 2024
2 parents 64c3051 + f812ead commit 05f8110
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,13 @@ - (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;

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160400
Expand Down

0 comments on commit 05f8110

Please sign in to comment.