I am trying to create a datepicker that has today as the minimum date and February 1, 2011 as the maximum date.
I set the minimum date as follows
[picker setMinimumDate: [NSDate date]]
and this works fine, but MaximumDate doesn't seem to be correct.
[picker setMaximumDate: [NSDate dateWithNaturalLanguageString:@"11/02/01"]];
How to set the maximum date?
source
share