[group setValue:viewForAnimation forKey: kTrashItemAnimation];
[viewForAnimation.layer addAnimation:group forKey:@"savingAnimation"];
later in the animation did stop callback, we can get the view from the animation ended to do more works based on different views.
No comments:
Post a Comment