UIDatePicker 设置文字颜色(包括当前选中的那行)

[datePicker setValue:[UIColor whiteColor] forKey:@"textColor"];
[datePicker performSelector:@selector(setHighlightsToday:) withObject:NO];
datePicker.datePickerMode = UIDatePickerModeDate;
datePicker.datePickerMode = UIDatePickerModeTime;  //真正想要展示的mode

你可能感兴趣的:(UIDatePicker 设置文字颜色(包括当前选中的那行))