You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/22 03:06:08 UTC

[GitHub] russcarver opened a new issue #301: Issue with status bar on iPhone X when toolbar is at the top (v3.0.0)

russcarver opened a new issue #301: Issue with status bar on iPhone X when toolbar is at the top (v3.0.0)
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/301
 
 
   There is an issue with the status bar and the iPhone X as described at http://www.doroja.com/smartdic.aspx?decode=1&url=aHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvNDczOTk5MzgvaXNzdWUtd2l0aC1zdGF0dXMtYmFyLXVzaW5nLWNvcmRvdmEtaW5hcHBicm93c2VyLWFuZC1pb3MtMTEtYW5kLWlwaG9uZS14B64Coded!
   
   When the inappbrowser toolbar is at the top of the screen, the status bar on the iPhone X is half white and half gray.
   
   Changing the following line in CDVInAppBrowser.m solves the problem and makes the whole status bar gray.  Change line:
   `statusBarFrame.size.height = STATUSBAR_HEIGHT;`
   to
   `statusBarFrame.size.height = 0;`
   
   This does not seem to negatively affect other iPhones or iPads.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

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