I have cells that expand by changing their height with a setExpanded: method call.
I then call reloadRowsAtIndexPaths: to refresh the cells.
The problem is the c
In:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
you must return a new cell. If cell you don't need to create a new one, you only need:
[tableView beginUpdates]; [tableView endUpdates];
There is no need to call reloadRowsAtIndexPaths.
reloadRowsAtIndexPaths