CodeTextField icon indicating copy to clipboard operation
CodeTextField copied to clipboard

验证码的问题

Open zhangfurun opened this issue 3 years ago • 0 comments

在手机获取验证码, 点击键盘上的验证码, 快捷输入, 会回调两次 比如: 验证码6位, 第一次, public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {

中string为6位验证码

第二次, 是每次一位的增加, 然后到6位后第二次回调

zhangfurun avatar May 24 '21 07:05 zhangfurun