All I want to do is change the font color of the UIDatePicker. I\'ve researched other questions but they\'re all involving changing other properties and customizing the enti
It didn't work until textColor was set inside layoutSubviews()
override func layoutSubviews() { super.layoutSubviews() datePicker.backgroundColor = .black datePicker.setValue(.white, forKeyPath: "textColor") }