I am subclassing NSDatePicker
to implement calendar widget. I am able to change text color by setting textColor
property of NSDatePicker but when I click on any field of NSDatePicker like Month/Year/Day the default color is somewhat blue.
I want to change highlight color to some custom color but I am not able to do that. I tried overriding highlightColorWithFrame:inView:
and highlight:withFrame:inView:
but no effect.
This is how it looks at present