iPhone – Scrolling the UITableView to the Top

UITableView actually is a child of UIScrollView. Use the following code to scroll the UITableView to the top.

[yourTableView setContentOffset:CGPointMake(0, 0) animated:NO];

 
Done =)

Reference: [iPhone SDK] UITableView – how can I scroll to the top?

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.