text()
Returns a new UIColor for a contrasting text color.
text(): UIColor;
Notes
- Uses the preset
darkTextandlightTextcolors.
Return value
A new UIColor instance, either dark or light.
Related
class UIColor
A class that represents a single color value.
