Search code examples
iosobjective-ccocoa-touchuipickerviewuidatepicker

"unknown" year in UIDatePicker without custom UIPickerView


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!


Solution

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