Setting an delegate for the UIDatePicker animation?
Posted
by james.ingham
on Stack Overflow
See other posts from Stack Overflow
or by james.ingham
Published on 2010-02-21T19:34:42Z
Indexed on
2010/04/07
22:23 UTC
Read the original article
Hit count: 500
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
© Stack Overflow or respective owner