How to use dark mode in simulator iOS 13?

后端 未结 8 1810
迷失自我
迷失自我 2020-12-04 10:35

While I am developing the iOS app I need to test it in simulator with dark mode option so I can get more clarity about the app UI. But when I go to the Setting I am not gett

相关标签:
8条回答
  • 2020-12-04 11:16

    You can also switch Dark mode using this line, you just need to put these lines in your info.plist file

    <key>UIUserInterfaceStyle</key>
    <string>Dark</string> //Light
    
    0 讨论(0)
  • 2020-12-04 11:17

    You can toggle the interface mode (i.e. Light / Dark) as well as adjust dynamic type setting on the fly (when the simulator is running) like this:

    0 讨论(0)
提交回复
热议问题