convert(_:from:to:)
Converts a color from one user interface style to another.
Declaration
class func convert(_ color: UIColor, from fromUserInterfaceStyle: UIUserInterfaceStyle, to toUserInterfaceStyle: UIUserInterfaceStyle) -> UIColorParameters
- color:
The color to convert.
- fromUserInterfaceStyle:
The user interface style to convert the color from.
- toUserInterfaceStyle:
The user interface style to convert the color to.