Scroll UITableView to the top

by alex 4. December 2009 16:24

//Move to the top of UITableView

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

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


Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

General

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen