It should be simple, but it becomes a headache. I have a view with UITextField where a user types and clicks text. In this case, another view controller appears, and I leave the first responder in the text box before the first view disappears. When the second view is rejected, the first view automatically causes the text field to become the first responder again, and I cannot find a way to suppress it. Does anyone know how I can make the keyboard pop up when I deflect a second look?
I tried resignFirstResponder in viewWillAppear, no effect. I tried the same thing in viewDidAppear, but the keyboard pops up and then fires immediately, which is inconvenient.
I appreciate any help.
Seant
source share