jacobg commented on issue #265: CB-14024 Take into account statusbar height 
when toolbar is enabled
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/pull/265#issuecomment-584739105
 
 
   Any update on this? I needed to edit CDVWKInAppBrowser.m in the 
rePositionViews method, to add `+ [self getStatusBarOffset]` to the webView y 
point
   
   That is, this line of code:
   
https://github.com/apache/cordova-plugin-inappbrowser/blob/09ad59f7ef177007c5ed603147cff335d7cfaafa/src/ios/CDVWKInAppBrowser.m#L1147
   
   should instead be:
   ```
          [self.webView setFrame:CGRectMake(self.webView.frame.origin.x, 
TOOLBAR_HEIGHT + [self getStatusBarOffset], self.webView.frame.size.width, 
self.webView.frame.size.height)];
   ```

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to