Mots clés : iosuitableviewios
93
[tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:10 inSection:indexPath.section] atScrollPosition:UITableViewScrollPositionMiddle animated:NO];
84
//For iOS 7 [self.TableView reloadData]; NSIndexPath *indexPath = [NSIndexPath indexPathForRow:1 inSection:1]; [TableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
78
let moveToIndexPath = NSIndexPath(forRow: forRow, inSection: 0) self.tableView.reloadRowsAtIndexPaths([moveToIndexPath], withRowAnimation: .None) self.tableView.scrollToRowAtIndexPath(moveToIndexPath, atScrollPosition: atScrollPosition, animated: true)