I use
func insertRowsAtIndexPaths(indexPaths: [NSIndexPath],
withRowAnimation animation: UITableViewRowAnimation)
method to insert a new Ro
Thanks @raf for the suggestion:
What you need to do then, is animate the whole UITableView in it's parent view up as you insert elements. If you're using autolayout, capture the Top constraint in a property, and change it's constant as you insert elements. Something like:
topConstraint.constant = newValue
UIView.animateWithDuration(0.5, animations: {
self.layoutIfNeeded()
})