[iOS 13 beta] DatePickerIOS is invisible having dark mode enabled
See original GitHub issueReact Native version: 0.60.5
This may be relevant to #25181 discussing Xcode 11 and iOS 13 Beta.
Steps To Reproduce
- Run
react-native init ExampleDatePickerto create a new project. - Add
<DatePickerIOS date={new Date()} />to the bottom of the scroll view inApp.js. - Run app on iOS 13 (simulator or test device) having dark mode enabled.
- The date picker is interactive (you hear the ticking noise when dragging the wheels) but it appears transparent – you can’t see it.
Describe what you expected to happen: I expected to see the date picker.
This is what it looks like on iOS 13 with dark mode disabled:
…on iOS 13 with dark mode enabled:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:38
- Comments:50 (3 by maintainers)
Top Results From Across the Web
Is it possible to opt-out of dark mode on iOS 13? - Stack Overflow
So, there's no need to opt out of dark mode. If you are using Xcode 11 or later, the system has automatically enabled...
Read more >Uipicker Dark Color Ios13 : - ADocLib
We have the best Ios 12 Simulator Dark Mode Album. iOS 13 beta] DatePickerIOS is invisible having dark mode Latest iOS 12 Beta...
Read more >App Not Following iOS 13's Dark Mode? Check These Settings
Step 2Check That You Have iOS Dark Mode Enabled. Are you sure Dark Mode is even on? To check, open Control Center, expand...
Read more >ReactNativeでiOS13のDarkModeを無効化する。 - recolog
react-native/iOS 13 beta DatePickerIOS is invisible having dark mode enabled #26299. <key>UIUserInterfaceStyle</key> <string>Light</string>.
Read more >Check Out Dark Mode in iOS 13 - MacRumors
Speaking of wallpaper, iOS 13 has several new wallpapers available, which turn colors from light to dark based on which mode you have...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I tried both the self.window and rootView overrides and neither worked for me. I finally discovered a workaround that works in 13.1.2. Add this to your plist file:
I managed to make it work by setting to
selft.windowinstead ofrootView.I added the following code in
AppDelegate.m