"Scroll UITableView to the top"

Fri 04 December 2009

//Move to the top of UITableView

NSIndexPath *i = [NSIndexPath indexPathForRow:0 inSection:0];

[namesTableView scrollToRowAtIndexPath:i atScrollPosition:UITableViewScrollPositionNone animated:YES];