Когда я выбираю строку в UITableView, я вызываю scrollRectToVisible:animated
в GCRect кадра строки и сразу после этого выполняю некоторые другие анимации. Моя проблема в том, что я не знаю, когда закончится анимация из scrollRectToVisible:animated
.
Мой код:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView cellForRwoAtIndexPath:indexPath];
[self.tableView scrollRectToVisible:cell.frame animated:YES];
//more animations here, which I'd like to start only after the previous line is finished!
}