I\'ve been having trouble trying to set the UIDatePicker font and color. Everything else in my app was fairly straightforward to adjust except
UIDatePicker
Swift 4
override func layoutSubviews() { super.layoutSubviews() datePickerView.setValue(UIColor.white, forKeyPath: "textColor") }