How can I use two separate CABasicAnimations to create the same property at the same time?
For example, two CABasicAnimations, both are animated position.y.
The first animation will be a rebound (from 100 to 300, duration = 1, auto reverse = yes, repeat = 10)
The second animation will be slow scrolling (at 100, duration = 10)
The behavior that I see is that if the first animation is executed, and I use:
[pickle.layer addAnimation:[self makescrollanimation] forKey:@"scrollit"];
to add a second ... the second is ignored.
I know that the second animation works, because if I start from the second, then the first is ignored.
Thanks Matt
source
share