Posted By

espinallab on 01/29/10


Tagged

UITableView


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

bobbym245
Tintenklecks
cnathan


Move to the top of UITableView


 / Published in: Objective C
 

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

Report this snippet  

You need to login to post a comment.