Swift: How to reload row height in UITableViewCell without reloading data

You can use this code to update the cell’s height without reloading their data:

tableView.beginUpdates()
tableView.endUpdates()

You can also use this method followed by the endUpdates method to animate the change in the row heights without reloading the cell.

UITableView Class Reference

Leave a Comment