I have a question about UIDatePicker. Is it possible to avoid to select past dates? I mean, select only day from today to the following days, avoiding to select the "past".
Asked
Active
Viewed 46 times
1 Answers
1
Use:
[datePicker setMinimumDate:[NSDate date]];
This will just set the minimum date to the current date (returned by [NSDate date]
).

Jsdodgers
- 5,253
- 2
- 20
- 36