简体   繁体   中英

Force Light Mode Across Entire App - Xcode 13.4.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

It has changed over time...

In info.plist, add the Appearance key:

在此处输入图像描述

If you've never added a key...

Click the + button on an existing key:

在此处输入图像描述

Then type or select Appearance:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM