Я пытаюсь удалить разделитель для одного UITableViewCell
. Я сделал следующее:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell;
cell = [super tableView:tableView cellForRowAtIndexPath:indexPath];
if (indexPath.row == 1)
cell.separatorInset = UIEdgeInsetsZero;
return cell;
}
(It static cells
.) Когда я запускаю приложение. Линия разделителя все еще существует. Как удалить строку разделителя для одного cell
?