Open andrealufino opened 8 years ago
Hello guys, I don't know if this is a bug (I don't think so) or an expected behavior, but I'm trying to do this :
let rotation = POPSpringAnimation.init(propertyNamed: kPOPLayerRotation) rotation.springBounciness = 30 rotation.springSpeed = 20 rotation.velocity = 30.0 rotation.repeatForever = true button.layer.pop_addAnimation(rotation, forKey: "rotation")
But the repeatForever seems to be ignored completely and the animation doesn't repeat. How can I create this effect repeating it until I want to stop it?
repeatForever
Maybe it's not in the provided code but did you set a toValue for the animation?
toValue
Hello guys, I don't know if this is a bug (I don't think so) or an expected behavior, but I'm trying to do this :
But the
repeatForever
seems to be ignored completely and the animation doesn't repeat. How can I create this effect repeating it until I want to stop it?