1

I want to set the dark mode fixed for one UI element.

So I want that all the app switch automatically from dark to light but one element in my case a UISegmentedControl stays in dark mode.

Is it possible?

chiappins
  • 202
  • 3
  • 16

1 Answers1

1

Yes, you can set overrideUserInterfaceStyle on the control to .dark.

Frank Rupprecht
  • 9,191
  • 31
  • 56