Я хотел бы автоматически прокрутить до конца представления таблицы.
[tableView scrollToRowAtIndexPath:lastIndexPath atScrollPosition:UITableViewScrollPositionBottom animated:YES];
Учитывая, что я знаю, сколько элементов находится в представлении таблицы, используя:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
Как я могу получить IndexPath * для последнего элемента в этом таблицеView? Это необходимо, так что я могу предоставить его как аргумент scrollToRowAtIndexPath: atScrollPosition: анимированный
Спасибо!