Created
July 16, 2020 00:18
-
-
Save Aakashcs/66c0c82f1f40be3fff7dcbe2d695de39 to your computer and use it in GitHub Desktop.
Switch to dark mode in Swift
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?.overrideUserInterfaceStyle = .dark // for Light mode: .light |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment