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/07 13:42:12 UTC

[GitHub] [cordova-ios] aubrey-fowler edited a comment on issue #964: iPhone X safe area has changed with iOS 13+

aubrey-fowler edited a comment on issue #964:
URL: https://github.com/apache/cordova-ios/issues/964#issuecomment-670479201


   I added this code in my css file:
   
   ```
   body {
       padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
       padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
   }
   ```
   
   It seemed to help with part of the problem but not all of it.
   
   Before and after.
   
   ![Simulator Screen Shot - iPhone X - 2020-08-07 at 12 25 23](https://user-images.githubusercontent.com/1875260/89651589-12dac580-d8bc-11ea-936f-88e3b5cc339d.png)
   ![Simulator Screen Shot - iPhone X - 2020-08-07 at 12 24 45](https://user-images.githubusercontent.com/1875260/89651591-13735c00-d8bc-11ea-9abb-bb8331998019.png)
   
   
   However, the issue with the footer button being pushed down persists on iOS 13 even with iPhone 8 Plus and iPhone X.


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