The color scheme of this environment.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
When writing custom drawing code that depends on the current color scheme, you should also consider the
color property. You can specify images and colors in asset catalogs according to either the
Color color scheme, as well as standard or increased contrast. The correct image or color displays automatically for the current environment.
You only need to check
color for custom drawing if the differences go beyond images and colors.