Question: I sometimes reload table data and I need to redraw the table so that I see the data from the first row again. What I do now is the following:

```
NSIndexPath *ip = [NSIndexPath indexPathForRow:0 inSection:0];
[self.tableView selectRowAtIndexPath:ip animated:NO scrollPosition:UITableViewScrollPositionTop ];
[self.tableView deselectRowAtIndexPath:ip animated:NO]; 

```

This is not ideal because there is an annoying flash when row 0 is selected and immediately deselected. 

How can I fix this?

Answer: 
You can use `UITableView`'s [`scrollToRowAtIndexPath:atScrollPosition:animated:`](http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableView_Class/Reference/Reference.html) method.

```
[tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];

```
You can set contentoffset of tableview to (0.,0.).