Rafi
Rafi

Reputation: 1922

iOS - Automatically Have Keyboard Toggled On ViewController

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

Answers (1)

in the ViewDidAppear:

[yourTextField becomeFirstResponder];

Upvotes: 3

Related Questions