Answer the question
In order to leave comments, you need to log in
How to ignore black theme in ios?
Hello !
We have a mobile application for ios. Naturally, it was not adapted to the black theme in any way, as a result, with the black theme turned on, we get the following result:
Is it possible to ignore the included black theme, and show everything as it is, without taking it into account?
Answer the question
In order to leave comments, you need to log in
In info.plist -
<key>UIUserInterfaceStyle</key>
<string>Light</string>
if #available(iOS 13.0, *) { overrideUserInterfaceStyle = .light }
if #available(iOS 13.0, *) {
UIApplication.shared.windows.forEach { $0.overrideUserInterfaceStyle = .light }
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question