1

I fear this has been asked, and shot down many times, but it's worth a shot...

Is it possible to use create a UIDatePicker exactly the same as the birthday picker in the Contacts App, with the option of "----" for the year component, without recreating it all with a UIPickerView?

Thanks!

Leon
  • 715
  • 1
  • 8
  • 22

1 Answers1

0

Short answer: No. UIDatePicker will always display the year.

memmons
  • 40,222
  • 21
  • 149
  • 183
  • I thought this may be the case. Thanks – Leon Mar 25 '13 at 20:49
  • @leon NP. It's fairly trivial to create your own custom date picker if you are not particularly worried about internationalization (if you are, then it becomes more complicated). Check out this SO Q: http://stackoverflow.com/questions/10004778/how-do-i-rewrite-the-uidatepicker-component – memmons Mar 25 '13 at 23:47