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 c开发者_如何转开发olor for this. How can i change it?
You can't, not without recreating UIDatePicker
from scratch. If you want this ability, please request it at http://bugreport.apple.com.
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.
精彩评论