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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to