I am trying to set height of the last tableView row different from the others. Instead of creating a new cell etc, I want to "cut" 10px from the height of this cell. As I have set automatic dimension for height, I can't use a constant value.
This is how it looks like:
tableView.estimatedRowHeight = 54.0
return UITableViewAutomaticDimension
I want something like this, but this does not work:
if isLastLineBla {
tableView.estimatedRowHeight = 44.0
return UITableViewAutomaticDimension-10.0
} else { ...