Why doesn't my iOS app disable dark mode?
问题 So ... I've tried to set my app to disable iOS 13 dark mode by forcing light mode according apple documentation, in the emulator all attempts work fine, but when I try on the real device, nothing happens, it's like I've never changed my code First Attempt Override the Interface Style for a Window, View, or View Controller I tried to put this code sample in my viewDidLoad() Nothing Changed if #available(iOS 13.0, *) { overrideUserInterfaceStyle = .light } else { // Fallback on earlier versions