Edit Cell Text in UITableView
In my app I have a set number of cells in a UITableView, 10, no more, no less, and the user can't change that.
However what I would like to have is so that if the user was to naturally in an iOS fashion, swipe a cell, or press an edit button, the cell text becomes editable with a simple tap on the cell bringing up a keyboard.
I was just wondering if there is a fairly simple method 开发者_StackOverflow社区to do this, or take quite of custom building? What are you thoughts on how this could go together?
Thanks.
This should work if you just add a UITextField into the table cell's contentView I believe.
精彩评论