SwiftUI lets us detect whether dark mode or light mode is currently enabled using the colorScheme environment key. If you declare this using @Environment, you can refer to it in your views and they will automatically be reloaded when the colour schem...
blog.tavitian.net.au1 min readNo responses yet.