How to force light or dark mode in SwiftUI
Sometimes we want to overwrite default system behaviour switching between dark & light modes for specific screen or whole app. Let's check how we can quickly apply that.
🗓 Oct 8, 2021⏳ 1 minutes
Sometimes we want to overwrite default system behaviour switching between dark & light modes for specific screen or whole app. Let's check how we can quickly apply that.
Handling accessibility rules for SwiftUI components moved to internal framework may be bit problematic at first if you forget about one little additional step...
Sometimes we want to overwrite default system behaviour preventing battery drain if, for any reason our app needs to stay active even if we don't touch the screen for longer period of time. Let's see how we can accomplish that.