I use UISegmentedControl
that modifies the contents UITableViewCell
. After changing the segment, I need to reload the cell to update its height. I do this by calling:
[self.tableView reloadRowsAtIndexPaths:@[self.segmentIndexPath] withRowAnimation:UITableViewRowAnimationNone];
However, this does scroll UITableView
up. What is the best way to do this without scrolling through the table?
jherg source
share