Smoothly scrolling tableview up by fixed constant when keyboard appears so last cells are still visible
问题 When the keyboard appears, I am shifting the bottom-most view up by a constant. But due to this the hight of the UITableView also reduces and the cells that were previously visible are no longer visible. What I want to do is scroll the table view up by a height equal to the keyboard's height so that at least the last messages will be visible like they were before the keyboard appeared. The last yellow cell that was half-visible in the image on left should be visible like that on the right too