make keyboard appear on iOS app launch
I've made an app in xcode for the iPad and would like the keyboard to appear automatically on launch. Is there a way to do this?
Thanks!
I've made an app in xcode for the iPad and would like the keyboard to appear automatically on launch. Is there a way to do this?
Thanks!
Create a UITextField and make it first responder.
If I have a textfield already do I just make that the first responder?
Put your thinking cap on for just a second..
I said "Create a UITextfield and make it first responder."
You said "If I have a textfield already do I just make that the first responder?"
The conclusion is logical.
What do you think?
Yeah. Makes sense. New to xcode so might need some baby steps. Dont know much coding yet either. WOrking on a very simple app. I tried assigning the text field as a first responder, but didn't work. Any ideas? I appreciate the help.
Did you assign a delegate for the text field?
If you don't understand this, please review the Apple iOS documentation for UITextField.
It's all explained in there.
Come back here when you figure it out (or if you get stumped).
The important thing is to try on your own.
Trying things out and failing is the best way to learn Objective-C and the iOS API.
Success!
make keyboard appear on iOS app launch