0

When I add "User Interface Style" = "Light" in info.plist of iOS Framework, it does not get applied to the app in which that Framework is embedded.

1 Answers1

1

To control an interface style1 for an entire app, you simply set UIUserInterfaceStyle (Appearance) key2 in your Info.plist file.

You can assign it to either Light or Dark value to force a light and dark user interface style.

<key>UIUserInterfaceStyle</key>
<string>Light</string>

or

<key>UIUserInterfaceStyle</key>
<string>Dark</string>

enter image description here Full Article: https://sarunw.com/posts/how-to-disable-dark-mode-in-ios/#disable-dark-mode-for-an-entire-app

Ofir Malachi
  • 1,145
  • 14
  • 20