Ok, so I decided this with the help of this code to hope this helps. I just changed POPBasicAnimation to POPSpringAnimation. Here is the code
POPSpringAnimation *colorAnimation = [POPSpringAnimation animation];
colorAnimation.property = [POPAnimatableProperty propertyWithName:kPOPViewBackgroundColor];
if (clic)
{
colorAnimation.toValue = (id)[UIColor redColor].CGColor;
}
else
{
colorAnimation.toValue = (id)[UIColor greenColor].CGColor;
}
[imagen pop_addAnimation:colorAnimation forKey:@"colorAnimation"];