Move to the top of UITableView


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.