UIUserInterfaceStyle key is not available in Info.plist in Xcode 12, how to disable Dark Mode in Xcode 12 from Info.plist?

4.6k Views Asked by At

I am trying to disable Dark Mode support by setting UIUserInterfaceStyle key to Light in Info.plist file but now it's not available in Info.plist in Xcode 12.

enter image description here

Is it still possible to disable Dark Mode support from Info.plist file for iOS Apps in Xcode 12.

2

There are 2 best solutions below

0
Li Jin On

It still exists. Use Appearance key. if you want to find UIUserInterfaceStyle, just right click to open menu, and check Raw Keys & Values, and you will be able to add UIUserInterfaceStyle.

0
Maul On

Now You can use Appearance key in info.plist file to Avoid Dark Modeenter image description here