When I changed UIDatePicker
textColor
, but the "AM PM" color not change, how to fix it
I use this code:
datePicker.setValue(UIColor.whiteColor(), forKey: "textColor")
When I changed UIDatePicker
textColor
, but the "AM PM" color not change, how to fix it
I use this code:
datePicker.setValue(UIColor.whiteColor(), forKey: "textColor")
Have you tried by applying tintColor
to datePicker?
You should try it like,
datePicker.tintColor = UIColor.whiteColor()
This will change your datePicker colour. Hope this will help you.