Answer the question
In order to leave comments, you need to log in
How to open the keyboard immediately after switching to a specific ViewController?
Good day.
A TextField is set on a certain ViewController. I would like the keyboard to open when switching to this ViewController.
Most likely, you just need to set the cursor, then the keyboard will open. But how to set the cursor?
And, if possible, show me where to read about changing the keyboard (for example, how to add a blue "Done" button, like in Instagram).
Thank you.
Answer the question
In order to leave comments, you need to log in
myTextField.returnKeyType = UIReturnKeyDone;
[myTextField becomeFirstResponder];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question