A altura dinâmica da tabela não está definida

Estou tentando definir a altura dinâmica da tabela. Mas não está funcionando quando eu registro a altura da tabela, está me mostrando a altura dinâmica, mas não definida como a tabela real.

Aqui está o meu código:

CGRect table_frame;
table_frame=table_sender.frame;
NSLog(@"table fram: %f",table_frame.size.height); //got table height 444
float height = [senderHistoryDataArray count]  * 40 +40 ; // 4*25.00
NSLog(@"height of table: %f",height);  //got this height 200
if(height>=444){
    table_frame.size.height=444;
}
else{
    table_frame.size.height=height;
    NSLog(@"height set");  //also displying this line in log
}

table_sender.frame=table_frame;
[table_sender reloadData];

Resultado:

quando desmarcar o autolayout, ele funcionará, mas está mostrando mais parte do que o anterior.

questionAnswers(3)

yourAnswerToTheQuestion