I am new to Objective C and IPhone development.
I am using a UIDatePicker in my IPhone Application and my requirement is to allow the user to choose the future date only
For Swift :
let todaysDate = Date() datePicker.minimumDate = todaysDate
It will not let the user to pick a date older than Today
OR
Or, if you want to reduce the code, use following way:
datePicker.minimumDate = Date()