UITextField-Shake-Swift
UITextField-Shake-Swift copied to clipboard
Sometime no shake animation
I'm calling textField.shake() on a keyboard toolbar button callback, if I keep pressing the button, I see this:
shake, shake, shake, no shake, no shake, no shake, shake, shake
I set delta to 15, most of the time when it shake, it appear correctly shake at this delta. Sometimes it either don't shake at all or shake tiny little bit.