A name is associated with a CAAnimation:
[self.layer addAnimation:animation forKey:@"name"];
How can I associate a name with animations initiated using UIView -animateWithDuration:
?
I would like to do this so I can cancel this animation only, hopefully by calling
[self.layer removeAnimationForKey:@"name"];