Skip to content

Zedenem/OverrideDarkMode

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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

No packages published

Languages