Generating Dark Mode isn't working.

I'm writing an app using the latest Xcode 26 beta, and I'm finding an issue with dark mode and Date and time pickers. Basically, when I preview a view using the canvas in Xcode, it works as expected, however, when I build and run the app in a simulator or on my phone, dark mode looks horribly wrong.

When I try building the app using Xcode 16, it looks as expected, but with Xcode 26, it looks like the shot.

I haven't seen anything listed as a bug, but I'd appreciate any suggestions. Thanks.

Does this reproduce in a simple test project? If so, then please open a bug report and attach that test project to the report, and post the FB number here for the record.

— Ed Ford,  DTS Engineer

Hi Thank for for the reply. I've sent a small sample project and a description. The number is FB19480793. I don't know if it's a bug, or just shoddy coding on my part, but I've tried everything I can think of to fix it.

Generating Dark Mode isn't working.
 
 
Q