Pramod
Pramod

Reputation: 797

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

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.

Upvotes: 4

Views: 4911

Answers (2)

Maul
Maul

Reputation: 1179

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

Upvotes: 3

Li Jin
Li Jin

Reputation: 2167

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.

Upvotes: 10

Related Questions