How would I scroll a UITableView to a specific position with an animation?
Currently I'm using this code to jump to a position:
//tableController -> viewDidLoad
[self.tableView reloadData];
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:row inSection:0];
[self.tableView scrollToRowAtIndexPath:indexPath
atScrollPosition:UITableViewScrollPositionTop
animated:YES];
The problem with this code is, that the table jumps right to the right position without any animation. Is there any way to enable the animation or set the duration?
Thanks for any help.