qpwr commented on issue #1491:
URL: https://github.com/apache/cordova-ios/issues/1491#issuecomment-2346572997

   I'm not sure if I totally understand what you mean, but I have to add extra 
code for Catalyst now in order for this to work "as expected", as far as I 
understand it now.
   
   I am already using safe-area-insets to deal with special screens like the 
newer iPhones, but not to deal with the statusbar (which is generally hidden in 
my production app, using cordova-plugin-statusbar). If I now add new cases for 
safe-area-insets to deal with the statusbar issue on macCatalyst, this will 
collide with devices like newer iPhones.
   
   I would think this should be fixed in cordova-ios or 
cordova-plugin-statusbar, since right now the behavior differs from the iOS 
behavior (which allows to control the statusbar behavior through the plugin).
   
   I now created a simple plugin to detect whether we're on macCatalyst and 
will probably add an extra body class through this to attach some extra CSS to. 
But I would rather not. :-D
   
   https://github.com/qpwr/cordova-plugin-detect-mac-catalyst


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

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to