I have a UITableView that I am adding a row to with an animation (using insertRowsAtIndexPaths:withRowAnimation:
). This is all good as long as the table is not longer than the screen.
If it is bigger than the screen then I am trying to scroll to the bottom, but it not quite working how I want... If I scroll to the new row after it is added I miss the animation. If I try to scroll to that indexPath before it is added it throws an exception (about it not being a valid indexPath)
Is there a solution to this other than adding a blank row?