Why doesn't my iOS app disable dark mode?

前端 未结 3 741

So ... I\'ve tried to set my app to disable iOS 13 dark mode by forcing light mode according apple documentation, in the emulator all attempts work fine, but when I try on the r

3条回答
  •  天涯浪人
    2021-02-14 10:00

    Simply you can add a new key UIUserInterfaceStyle in your app info.plist and set its value to Light or Dark. this will override the app default style to the value you provide.

    so you don't need to bother about having it anywhere else

提交回复
热议问题