setTextColor(_:)
Sets the color of the date and time text.
Declaration
func setTextColor(_ color: UIColor?)Parameters
- color:
The custom color to be applied to the time string. Specifying
nilremoves the custom color and returns the text to the color specified in the storyboard file. The default text color is white.
See Also
Related Documentation
- App Programming Guide for watchOS