ios focus on TextField swiftui code example
Example: uitextfield get focus swift 5
Swift 5
self.becomeFirstResponder()
let textField = UITextField()
textField.becomeFirstResponder()
Swift 5
self.becomeFirstResponder()
let textField = UITextField()
textField.becomeFirstResponder()