Skip to content

An example project showing how to use `overrideUserInterfaceStyle` to build an in-app light/dark mode switch

Notifications You must be signed in to change notification settings

Zedenem/OverrideDarkMode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

An example project showing how to use `overrideUserInterfaceStyle` to build an in-app light/dark mode switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages