There are one to three UITableViewCell
s in a UITableViewView
. Is there a way to always position the cell(s) at the bottom of screen after rel
All answers got some quirks with dynamic rowHeight and/or animations. For me the best working solution was a transformation of the table (flipY):
tableView.transform = CGAffineTransform (scaleX: 1,y: -1)
inside cellForRowAt
:
cell.contentView.transform = CGAffineTransform (scaleX: 1,y: -1)
cell.accessoryView?.transform = CGAffineTransform (scaleX: 1,y: -1)
You may also reverse your data-array and may also flip section-header/footer. Also your footer becomes your new header - but hey, it works.