1

I'm looking to force light mode across the entirity of my app. I've read numerous posts about this subject, all of which indicate that I should set UIUserinterfaceStyle to light in the project's info pane. When I open the info pane, UIInterfacestyle isnt present. Nor is Appearance. Any idea on how I can do this?

Xcode 13.4.1, iOS app

Info pane in my app's target

D Meyer
  • 33
  • 1
  • 6

1 Answers1

4

It has changed over time...

In info.plist, add the Appearance key:

enter image description here

If you've never added a key...

Click the + button on an existing key:

enter image description here

Then type or select Appearance:

enter image description here

DonMag
  • 69,424
  • 5
  • 50
  • 86
  • Interestingly enough "Appearance" is not present either. Is there a way to add this target property? – D Meyer Aug 08 '22 at 13:13
  • Click the `+` button, and type in "Appearance" -- then type in "Light" for the value. There are many, many keys which are not present by default. – DonMag Aug 08 '22 at 13:14
  • Got it, didn't realize the + I was looking for was the small one within the list. This is working. Much appreciated – D Meyer Aug 08 '22 at 13:21
  • @DMeyer - sorry -- I forget that folks may have never done this task before :( – DonMag Aug 08 '22 at 13:23