Aumentar dinamicamente a altura do UILabel & TableView Cell?

Eu tenho um UITableView no qual estou exibindo uma célula personalizada. No meu celular, tenho dois rótulos e uma exibição, como abaixo na imagem.

Eu dei restrição de visão esquerda como esta

Restrições de etiqueta de item

restrições da vista central

constarints da vista direita


Estou usando uma classe de bean para armazenar dados para dois rótulos e adicionar esse objeto de bean em uma matriz. Estou usando o código abaixo em heightForRowAtIndexPath.

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {

    // Calculate a height based on a cell
    if(!self.customCell) {
        self.customCell = [self.tableView dequeueReusableCellWithIdentifier:@"thirdcell"];
    }

    // Configure the cell
    Instrument *inst=[arr_instSpecs objectAtIndex:indexPath.row];
    self.customCell.label_item.text=inst.item;
    self.customCell.label_desc.text=inst.desc;


    // Layout the cell

    [self.customCell layoutIfNeeded];

    // Get the height for the cell

    CGFloat height = [self.customCell.contentView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;

    // Padding of 1 point (cell separator)
    CGFloat separatorHeight = 1;

    return height + separatorHeight;
}

O problema é que nem a altura do rótulo está aumentando nem a célula de exibição de tabela. Eu expliquei tudo. Quero aumentar o tamanho do rótulo quando houver um aumento no texto do rótulo e também quando o tamanho do rótulo aumentar, a altura da célula deverá aumentar.

questionAnswers(7)

yourAnswerToTheQuestion