//Move to the top of UITableView
NSIndexPath *i = [NSIndexPath indexPathForRow:0 inSection:0];
[namesTableView scrollToRowAtIndexPath:i atScrollPosition:UITableViewScrollPositionNone animated:YES];
//Move to the top of UITableView
NSIndexPath *i = [NSIndexPath indexPathForRow:0 inSection:0];
[namesTableView scrollToRowAtIndexPath:i atScrollPosition:UITableViewScrollPositionNone animated:YES];