I have a UITableView where some rows are indented using indentationLevel. Cells have the style UITableViewCellStyleValue1, so I get the textLabel indented but not the detailTextLabel. Sometimes I want to change the indentation of a row so the text moves left or right. Setting indentationLevel works, but the text jumps suddenly: how can I have it animate smoothly ?
I have a UITableView where some rows are indented using indentationLevel. Cells have the
Share
This works – changing the indent by indentDelta:
First the labels are smoothly scrolled to where I want them, then the rows are repainted with the correct truncation and left with indentationLevel correct so they paint correctly if they are regenerated, e.g. if clicked on to select.