Closed kohdesmond closed 8 years ago
let exampleController = DOAlertController(title: "Example", message: "This is an example", preferredStyle: .Alert)
This will make the textfield become the first responder when exampleController is presented
exampleController.addTextFieldWithConfigurationHandler( {(textField: UITextField!) in
textField.becomeFirstResponder()
})
Hi,
Just wondering how to make textfield as first responder?
Cheers