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?
views:
55answers:
1
A:
hmm i got. set animation fill mode to KCAFillModeForward then layer will stay in new position only. theAnimation.fillMode = kCAFillModeForwards;
jeeva
2010-04-01 11:00:29