indexPathForCell возвращает ноль с ios7

мое приложение работало нормально под ios6.1. попробовал симулятор ios7 и следующая часть не работает:

EditingCell *cell = (EditingCell*) [[textField superview] superview];
NSIndexPath *indexPath = [self.tableView indexPathForCell:cell];
NSLog(@"the section is %d and row is %d", indexPath.section, indexPath.row);
NSUInteger section = [indexPath section];
NSUInteger row = [indexPath row];
NSString *rowKey = [[keysForRows objectAtIndex: section] objectAtIndex: row];

Это всегда приходит:

the section is 0 and row is 0

хотя другой раздел / строка были выбраны. У кого-то есть идея, почему это не работает под ios7?

Ответы на вопрос(3)

Ваш ответ на вопрос