Trigerring other animation after first ending Animation (Objetive-C)

Posted by ludo on Stack Overflow See other posts from Stack Overflow or by ludo
Published on 2010-04-26T03:10:16Z Indexed on 2010/04/26 3:13 UTC
Read the original article Hit count: 600

Hi,

I have a simple animation which simply modify the position of a button:


[UIView beginAnimation:nil context:nil];
[UIView setAnimationsDuration:3.0];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
mybutton.frame = CGREctMake(20, 233, 280, 46);
[UIView commitAnimations];

I want to perform some other animations when this one is finish, how to do that?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone