我使用Facebook Pop的弹簧动画在X轴上创建视图动画。它工作正常,除了我似乎无法改变速度。看来速度属性是我读过的唯一方法,但是我没有设置任何值似乎有任何效果。我做错了什么,或者这是一个错误?如何使用Facebook Pop减慢动画效果?
POPSpringAnimation *anim = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPositionX];
anim.velocity = @(100.);
anim.springBounciness = 15;
anim.toValue = @(self.scrollView.frame.size.width/2);
anim.beginTime = .05 * i + CACurrentMediaTime();
[thisView.layer pop_addAnimation:anim forKey:@"myKey"];
这应该被标记为已解决。那些正是你需要的属性。 – artjulian 2014-10-16 01:16:10