myLabel 使用动画
POPSpringAnimation *anim1 = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPositionX];
anim1.springBounciness = 20;
anim1.toValue = @100;
anim1.velocity = @400;
[self.myLabel.layer pop_addAnimation:anim1 forKey:@"positionAnimation"];
动画完成后,我点击了一个 UItextfield ,然后 myLabel 的位置又回到原来的位置了。
什么情况啊这是 0.0.
咋解决呢。
其他的什么旋转啊,拉伸啊的动画都正常