keep keyboard open when deleting/inserting UITableView's cell (iphone)

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-05-08T20:40:33Z Indexed on 2010/05/08 20:48 UTC
Read the original article Hit count: 201

I have a login form using a UITableView. One of the cells has a UISwitch which when on will delete the row above it and when off reinsert it.

But the first cell automatically has the keyboard up when the cell is created (basically when the view loads) (by using [cell becomeFirstResponder];)

Inserting/deleting any of the cells means that the keyboard animates out and then animates back in. I'd like to remove this so the keyboard stays up while rows are deleted/inserted.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about firstresponder