I have date picker and i want to set maximum date as TODAY date which will change daily.
For ex today’s date is 28/6/2011 so maximum date is 28/6/2011 but when i use my app tomorrow it will be change to 29/6/2011.
How to set this?
Thanks
I have date picker and i want to set maximum date as TODAY date
Share
Set the
maximumDateproperty inviewWillAppear:method like this,To deal with date change while the application is being used, get the time left till tomorrow and set an NSTimer to trigger off at date change and then update the
UIDatePickerinstance.