tags:

views:

55

answers:

1

i am applying CABasicAnimation for position property of a layer it is animating well but after animation complete its coming back to original position how to avoid that and to make image to stay in animated position only?

A: 

hmm i got. set animation fill mode to KCAFillModeForward then layer will stay in new position only. theAnimation.fillMode = kCAFillModeForwards;

jeeva