sagarchikane commented on issue #305: URL: https://github.com/apache/cordova-plugin-splashscreen/issues/305#issuecomment-744501018
I had tried setting content inset safe values on the HTML body attribute too but that did not work out. So I did some changes within the native WKWebview implementation under `(void)updateSettings:(NSDictionary*)settings` method for the `CDVWebViewEngine.m` file under Cordova library. Following is the batch of code which was added ``` WKWebView* wkWebView = (WKWebView*)_engineWebView; // already present as part of library code wkWebView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; // this was added ``` This makes sure that the WKContentView takes up complete screen size ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
