Apologies, I’m mixing the original problem and a potential hack around it.
Here (the original problem) is what happens on my SDK 35 managed app (where
userInterfaceStyle is set to
light) when dark mode is turned on:
That white spot on the bottom is where the DatePickerIOS is - if I were to throw a dark background on it, you would see what has happened to the text:
As long as the phone is in dark mode, it looks the same regardless of the value of
I’ve been playing around with it on my ExpoKit app, as well, and I did notice that setting
Light seems to fix the issue- though only on a device and not the simulator. There’s other ways to set this, and Expo managed builds could be doing it another way (setting this plist value wouldn’t really be possible on the Expo Client). Wondering if it could make a difference that my
DatePickerIOS is in a
Modal (since the other way force to light mode in native code is against the window).
I’m going to run through the different possibilities (managed vs. ExpoKit, standalone vs Expo client, simulator vs. device, different settings, etc.) and then I’ll open an issue with the findings. From here, seems like a lot of it would be out of Expo’s control, other than maybe updating to DateTimePicker when it’s fixed or possibly setting that plist value on standalone builds if it isn’t already.