The default UIDatePicker shows both the date and time. I need to show only the month, day and year like this:
How can I change the picker to this?
The default UIDatePicker shows both the date and time. I need to show only the month, day and year like this:
How can I change the picker to this?
Just set the date pickers mode.
datePicker.datePickerMode = UIDatePickerModeDate;
"Date" is also an option in the inspector in IB.
Did you check the page where the second image is there ?
Date Picker for iPhone Web Application
seems like it has answer to your question!