[SOLVED] Wkwebview height

when I install the plugin cordova-plugin-wkwebview-file-xhr, there are one problems:

  • the view appears bad to me, as shown in the image, en iPhone X, Xs y Xr.

When I open the keyboard, when i close it, you fix it.

1 Like

After searching a lot, I found a solution at https://github.com/apache/cordova-plugin-wkwebview-engine/issues/53

I added in CDVInAppBrowser.m the following code:

if (@available(iOS 11.0, *))
[self.webView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];

I hope it can help