UITextField in UITableView to becomeFirstResponder.

Posted by f0rz on Stack Overflow See other posts from Stack Overflow or by f0rz
Published on 2010-04-23T10:40:13Z Indexed on 2010/04/23 10:43 UTC
Read the original article Hit count: 568

Hi !

I have a problem which I dont have a clue how to work around. Maybe anyone of you could help me to the correct directions...

Simple I have a UITableView with each cell containing a UITextField. When I´m editing a cell (UITextField) and hit Return Key, a new row is inserted under the current cell. After that I reloadData on the TableView, the new row is showed. Everything is OK here.

Now to my problem, I want to [UITextField becomeFirstResponder] on the newest added row. But I could not find anyway to accomplish this. I could post code but didn't find that necessary.

Cheers.

© Stack Overflow or respective owner

Related posts about uitableview

Related posts about uitextview