点击错误答案后,我在X方向上摇动单元格(类似于macbook上错误的密码动画)。
POPSpringAnimation *sprintAnimation = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPositionX];
sprintAnimation.springBounciness = 20;
sprintAnimation.velocity = @400;
sprintAnimation.repeatCount = 3;
[self pop_addAnimation:sprintAnimation forKey:@"springAnimation"];