You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/11 08:14:06 UTC

[GitHub] [cordova-ios] ARMistice commented on issue #965: iOS 12 and 13 pushing footer buttons beyond safe area

ARMistice commented on issue #965:
URL: https://github.com/apache/cordova-ios/issues/965#issuecomment-671799895


   Don't exactly know if it is the case here. But I had a similiar issue with iPhone 11 Max, which always displayed a white Border in the bottom. (Sorry no Screenshot) I always thought it has to do with the "home button" or status bar.
   
   At least as really nothing worked I changed the Code for: CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
   
   at line 399:
   
   `
       if (![@"fast" isEqualToString:decelerationSetting]) {
           [wkWebView.scrollView setDecelerationRate:UIScrollViewDecelerationRateNormal];
       } else {
           [wkWebView.scrollView setDecelerationRate:UIScrollViewDecelerationRateFast];
       }
   
       wkWebView.allowsBackForwardNavigationGestures = [settings cordovaBoolSettingForKey:@"AllowBackForwardNavigationGestures" defaultValue:NO];
       wkWebView.allowsLinkPreview = [settings cordovaBoolSettingForKey:@"Allow3DTouchLinkPreview" defaultValue:YES];
   
   // Added this here
      if (@available(iOS 11.0, *)) {
   	   [self.webView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
      }
   `


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org