tags:

views:

99

answers:

1

hi, i am working on a project where i am getting date value from date-picker view. I want to check for the date so that it should not enter the date prior to today's date... plz help me with that... thank you..

+1  A: 

Set the date picker's minimumDate property:

datePicker.minimumDate = [NSDate date];

(Where datePicker is a reference to your UIDatePicker)

macatomy
thanx it really helped me a lot thank you..
abhiTouchmagic