How to choose color appearance in SwiftUI - Xcode

Dec 24, 2020 1 min read
How to choose color appearance in SwiftUI - Xcode

You can get light or dark variant of a color declared in assets automatically in SwiftUI by switching on your phone theme. If you choose the dark mode on your phone, the color appearance will be Dark Appearance, if Light, then Light Appearance.

Great! Next, complete checkout for full access to ArturoFM.
Welcome back! You've successfully signed in.
You've successfully subscribed to ArturoFM.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.