в моем приложении есть несколько пунктов меню, которые отключены для взаимодействия с пользователем.
cell.userInteractionEnabled = FALSE;
после входа в систему я хочу снова включить некоторые из этих ячеек.
этот фрагмент работает наполовину:
NSIndexPath *editUsersPath = [NSIndexPath indexPathForRow:0 inSection:1];
[self.tableView cellForRowAtIndexPath:importPath].userInteractionEnabled = YES;
[self.tableView cellForRowAtIndexPath:importPath].accessoryType = UITableViewCellAccessoryDisclosureIndicator;
[self.tableView cellForRowAtIndexPath:importPath].textLabel.textColor = [UIColor blackColor];
но последняя строка кода не работает - текст по-прежнему серый.