Andrew
Andrew

Reputation: 16051

UIDatePicker highlights today's date - how can i change that color?

UIDatePicker highlights today's date in it's blue color, but I'd like it to use a different color for this. How can i change it?

Upvotes: 3

Views: 3239

Answers (2)

Dave DeLong
Dave DeLong

Reputation: 243156

You can't, not without recreating UIDatePicker from scratch. If you want this ability, please request it at http://bugreport.apple.com.

Upvotes: 5

Parth Bhatt
Parth Bhatt

Reputation: 19469

It seems UIDatePicker is not customizable via a delegate like UIPickerView. If you need this functionality, your best bet is probably to create your own custom date picker from a UIPickerView.

You'll have to code up all the date logic though.

If you need more help. Please refer to this link:

How to change Font of UIDatePicker?

Remove UIDatePicker's color

Hope this helps you.

Upvotes: 1

Related Questions