Я пытаюсь изменить поведение ячейки: 1) Когда Cell Tapped, отметьте ячейку как заполненную галочкой 2) Когда нажата кнопка "Сведения о раскрытии детали", выполните "Сессия". 3) В tableView: didSelectRowAtIndexPath: У меня:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
AWDelivery *delivery = [self.fetchedResultsController objectAtIndexPath:indexPath];
[delivery toggleDelivered: delivery];
[self configureCheckmarkForCell:cell withDelivery:delivery];
[tableView deselectRowAtIndexPath:indexPath animated:YES];
if (debugging) NSLog(@"[%s] [%d]", __PRETTY_FUNCTION__, __LINE__);
}
deselectRowAtIndexPath должен обходить segue, но это не так.
NSLogs: a) в 2012-04-29 18: 50: 00.848 Доставка [3148: fb03] [- [DeliveryTVC prepareForSegue: отправитель:]] [168] b) в 2012-04-29 18: 50: 01.245 Поставка [3148: fb03] [- [Таблица TVTVTVTV: didSelectRowAtIndexPath:]] [93]
Заметьте, что 'didSelect' происходит после 'prepareForSegue'.
Любые подсказки будут наиболее оценены.