iOS 18 seems to have broken preferredColorScheme. With the device in light mode, we first set preferredColorScheme as .dark, then we switch it to .none. The expected behaviour would be for the UI to switch from dark mode to light mode, which is what happens in previous versions. However, on iOS 18, it stays in dark mode until the app is reopened.
4
6
1.6k