GitToTheHub commented on issue #1688: URL: https://github.com/apache/cordova-ios/issues/1688#issuecomment-5226087576
Hi, I checked the status bar behaviour on iOS. It seems the status bar appearance is set automatically according to the color behind it. So if the color behind the status bar is white, the icons appear black. If the color behind is black, the icons appear white. This is way better as when you have to it by yourself. Keep sure you removed `cordova-plugin-statusbar` from your Cordova project and added `viewport-fit=cover` to `<meta name="viewport" content="...">` on your `index.html`. I made a test with web content having light and dark content and the status bar automatically switches the appearance: 1. Status bar appears black on white content <img width="373" src="https://github.com/user-attachments/assets/500b8de6-10e7-4cc3-904c-341cfc67f6b8" /> 2. Status bar appears white on black content <img width="382" src="https://github.com/user-attachments/assets/9689b1a7-cb80-4cb4-a099-220efee84218" /> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
