Documentation

text()

Returns a new UIColor for a contrasting text color.

text(): UIColor;

Notes

Return value

A new UIColor instance, either dark or light.

Related