📜  uitextfield get focus swift 5 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.409000             🧑  作者: Mango

代码示例1
Swift 5
self.becomeFirstResponder()

let textField = UITextField()
textField.becomeFirstResponder()