CAKeyframeAnimation *anim = [CAKeyframeAnimation animationWithKeyPath:@"transform.translation.x"];
anim.repeatCount = 1;
anim.values = @[@-20,@20,@-20];
[text.layer addAnimation:anim forKey:nil];
CAKeyframeAnimation *anim = [CAKeyframeAnimation animationWithKeyPath:@"transform.translation.x"];
anim.repeatCount = 1;
anim.values = @[@-20,@20,@-20];
[text.layer addAnimation:anim forKey:nil];
本文标题:35、[ iOS ] UITextField 当密码输入不匹配
本文链接:https://www.haomeiwen.com/subject/hijglttx.html
网友评论