Commit 1c2881a3 authored by pete谢兆麟's avatar pete谢兆麟

验证码结果页键盘处理

parent b7e98248
......@@ -33,6 +33,11 @@ class YHCodeSueecssViewController: YHBaseViewController {
startTime()
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
smscodeView.textField.becomeFirstResponder()
}
func setView() {
view.backgroundColor = .white
bgImageView = {
......
......@@ -55,15 +55,13 @@ class YHSmsCodeInputView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
}
func setupUI() {
self .addSubview(textField)
textField.snp.makeConstraints { make in
make.edges.equalTo(self)
}
textField.becomeFirstResponder()
// textField.becomeFirstResponder()
// 输入框数量
let count = config.count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment