0

Since using datepicker with a dark background color, I set its textColor to white. All the date text shows what I want except the current date. If today is 7/23/2015, its text will be black but not white.

I tried and found no solution, anyone can help?

Current date text color

current date text color

Not current date text color:

not current date text color

jdleung
  • 1,088
  • 2
  • 10
  • 26

1 Answers1

0

When you initialize date picker at the same time write the below code or if you had taken datePicker from IBOutlet write it in viewDidLoad [yourDatePicker setValue:[UIColor whiteColor] forKey:@"textColor"];