Reputation: 1922
I have a view in my app where the user has to enter information in a textfield. Instead of them clicking into the text field and toggling the keyboard, I would like to have the textfield already editable with the keyboard preloaded there so the user can immediately start typing. Surprisingly, I couldn't find any resources that preload the keyboard when a view controller is reached.
Any help or advice would be appreciated. Thanks.
Upvotes: 0
Views: 99
Reputation: 965
in the ViewDidAppear:
[yourTextField becomeFirstResponder];
Upvotes: 3