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/07/24 11:16:57 UTC

[GitHub] [cordova-ios] StefanRein commented on issue #629: Support for Dark Mode iOS

StefanRein commented on issue #629:
URL: https://github.com/apache/cordova-ios/issues/629#issuecomment-663490334


   @Thul999 Could it be you have set anywhere the following setting `UIUserInterfaceStyle` in the **config.xml** or manually in Xcode? Then the CSS / Media Queries (also JS!) will always return the value there.
   
   Which in my case was:
   
   ```xml
   <config-file parent="UIUserInterfaceStyle" platform="ios" target="*-Info.plist">
       <string>Light</string>
   </config-file>
   ```
   
   See also following post with a screenshot:
   https://github.com/mariusbackes/cordova-plugin-theme-detection/issues/3#issuecomment-561969305


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