Setting an delegate for the UIDatePicker animation?
- by james.ingham
If I had a date picker within an action sheet and called the following line:
[datePicker setDate:newDate animated:YES];
And then my app hides the action sheet the date picker is within, is there anyway to set up a animation delegate so that the user see's the animation of the date picker first and then hides the action sheet? I have done this with UIView's by calling:
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(METHOD)];
However I can not see anything like this for the date picker.
Thanks in advanced
- James