Automatically Select First UITableView Textbox

ios, iphone, objective-c, uitableview

Solution

You have to assign the first responder to that `UITextView`...

For example:

[textField becomeFirstResponder]

You can do it in the viewDidAppear of the UIViewController.

Problem

I have a tableview that accepts login credentials. I would like to have my app automatically select the first tableview text box upon loading or appearing. I would like the cursor to be placed in the "Email Address" field and for the keyboard to be raised automatically. I can't seem to figure this out. Anyone have any ideas? Thank you!

Original source