I know you can perform a two-stage animataion using blocks like so:
[UIView animateWithDuration:25.0 delay:0.0 options:UIViewAnimationCurveLinear animations:
^{
aView.alpha = 2.5;
}
completion:^(BOOL finished)
{
aView.hidden = YES;
}
];
..but how would I create a multistage (more than 2) animation using blocks?
Use nested animations:
I realize this is an older question, but I thought I'd add my input.
I created a class for handling multistage animation, available here!
It only supports a single duration and option set currently, but I'll probably add more features.
Here's how you use it:
Gives you:
or you can make a recursive, multi-stage animation method: