IPhone CAAnimations playable serially

Is it possible to define all CAAnimations at startup and play them one by one without using delegates, for example, what we do in CAAnimationGroup, where animations play simultaneously. Instead, I just want them to play consistently.

+2


source to share


1 answer


To run a set of animations CAAnimation

in a sequence, group them in CAAnimationGroup

and set beginTime

and duration

for each CAAnimation

to run one after the other.



Most people overlook these properties because they are defined in CAMediaTiming

that is appropriate CAAnimation

.

+2


source







All Articles