Care to elaborate? Sounds intriguingly crufty.
Care to elaborate? Sounds intriguingly crufty.
Unfortunately, there isn't a standard way to invert a UITableView, and have cells laid out from the bottom.
So, the easiest solution for us was to set the table's transform to CGAffineTransformMake(1, 0, 0, -1, 0, 0) (flip the whole table upside down) and then give the cells the same transform (to cancel out the table view's transform).
A bit hacky, and causes indexPaths to be inverted as well (0,0 is now at the bottom), but worked for us.
Seen a few other people take this approach as well: https://twitter.com/tapbot_paul/status/461161920402563072
The downside is you lose out on many of the out of the box stuff, like cell background highlights that you know have to define yourself.
The upside is that you can now reuse the UIView everywhere, including non-subclasses of ScrollView.