Force Light Mode Across Entire App - Xcode 13.4.1
Asked Answered
K

1

6

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

Kobi answered 8/8, 2022 at 12:55 Comment(0)
B
11

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

Brunei answered 8/8, 2022 at 13:10 Comment(4)
Interestingly enough "Appearance" is not present either. Is there a way to add this target property?Kobi
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.Brunei
Got it, didn't realize the + I was looking for was the small one within the list. This is working. Much appreciatedKobi
@DMeyer - sorry -- I forget that folks may have never done this task before :(Brunei

© 2022 - 2025 — McMap. All rights reserved.