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.
when I install the plugin cordova-plugin-wkwebview-file-xhr, there are one problems:
When I open the keyboard, when i close it, you fix it.
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 __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000
if (@available(iOS 11.0, *))
{
[self.webView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
};
#endif
I hope it can help