This is an example that demonstrates the problem scrollToRowAtIndexPath
has to calculate the correct height for a UITableView
when each row has a height of its own.
If all rows have the same height then this is how it works ok
Here is an example of how it cannot scroll to bottom when the cells height is variable
When the height is standard, it works fine
To test it, all you have to do is switch on/off the constraint on the row