标签: ios swift
我想在表格验证中摇动文字字段,这样就会动摇。 我尝试过许多动画效果,例如
textfield.layer.transform = CATransform3DMakeScale(1.0, 0.5, 1) UIView.animate(withDuration: 0.8, animations: { cell.layer.transform = CATransform3DMakeScale(1.05, 1.05, 1) }