Created
February 11, 2020 21:34
-
-
Save hassanvfx/02feb9f75d451810e1e3ec4a20131e9d to your computer and use it in GitHub Desktop.
Check if the current application state is dark mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIApplication.shared.windows.first?.traitCollection.userInterfaceStyle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment