blog
blog copied to clipboard
How to set text color for UIDatePicker
Apply tintColor
does not seem to have effect.
datePicker.setValue(UIColor.label, forKeyPath: "textColor")
datePicker.setValue(false, forKey: "highlightsToday")
Hey @onmyway133 , use
datePicker.tintColor = UIColor.white
make this line of code: datePicker.datePickerMode = .countDownTimer before this: datePicker.setValue(UIColor.white, forKeyPath: "textColor") not after it