How can I change the text color of the current date datepicker?

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

I tried and didn't find a solution, who can help?

Current date color

current date text color

Current date text color:

not the current date text color

0


source to share


1 answer


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



0


source







All Articles