uitextfield obtive foco swift 5

Swift 5
self.becomeFirstResponder()

let textField = UITextField()
textField.becomeFirstResponder()
Wicked Wolf