There are four views on which I need to apply animation.
If an user tap button, the animation is that view1
should hide for 1 second, and then view2
, then view3
, then view4
.
The problem is that how to apply animations in different views with sequence?
I need to use Core Animation to finish it.
Use the animateWithDuration:animations:completion:
method where the completion block calls a method which runs the next animation (and similarly its completion block starts the next part of the chain).