Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [tableView beginUpdates];
- [tableView insertSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationNone];
- [tableView endUpdates];
- NSUInteger iContentOffset = 200; //height of inserted rows
- [tableView setContentOffset:CGPointMake(0, iContentOffset)];
- [tableView reloadData];
- NSUInteger iContentOffset = 200; //height of inserted rows
- [tableView setContentOffset:CGPointMake(0, iContentOffset)];
Add Comment
Please, Sign In to add comment