OverrideDarkMode

A sample project to show how using overrideUserInterfaceStyle enables having a dark / light mode switch directly in the app, while still taking into account the system style.

This project shows both UIKit and SwiftUI components working. Video below.

Simulator.Screen.Recording.-.iPhone.12.-.2021-11-25.at.11.35.23.mp4


GitHub

View Github