Commit d29b0097 authored by lujunye's avatar lujunye

输入密码弹出键盘

parent 98f8792f
...@@ -64,6 +64,7 @@ class PayPassView: UIView, UIKeyInput { ...@@ -64,6 +64,7 @@ class PayPassView: UIView, UIKeyInput {
let pointRect = CGRect(origin: origin, size: pointSize) let pointRect = CGRect(origin: origin, size: pointSize)
context.fillEllipse(in: pointRect) context.fillEllipse(in: pointRect)
} }
self.becomeFirstResponder()
} }
//键盘的样式 (UITextInputTraits中的属性) //键盘的样式 (UITextInputTraits中的属性)
......
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