I have a classic grouped UITableView with editable UITextView inside each cell. These textual representations can be single or multi-line, and I want the cell to increase its height when the user writes, and the text starts a new line.
My question is: Do I need to reload the entire table in order to increase cell height? Is there no other method?
I searched a lot, and the previous answers and tutorials just talk about how to calculate text height, how to implement heightForRowAtIndexPath ... things I already know. My concern is that in order to achieve what I want, I will have to calculate the height and reload the table every time the user enters a new character, which I do not consider very clean or efficient.
Thank.
iphone resize uitableview uitextview
araid Jun 18 '10 at 11:56
source share