Home Increase the label height and cell height based on the content getting in service in UITableviewCell using Xib Objective-C
 Came across a problem with UITableViewCell. Am using Xib. I have 4 labels one below the other in UITableViewCell, lbl1,lbl2,lbl3,lbl4. lbl2 and lbl3 are dynamic text, Here how to increase lbl2,lbl3 height based on the text coming from service and increase cell height based on the content in the cell. Tried the following code. But doesn't help. Am using AutoLayouts here.TIA - (void)viewDidLoad { [super viewDidLoad]; _tblView.rowHeight = UITableViewAutomaticDimension; _tblView.estimatedRowHeight = 140; } // cellForRowAtIndexPath cell.lbl2.numberOfLines = 0; [cell.lbl2 sizeToFit]; cell.lbl3.numberOfLines = 0; [cell.lbl3 sizeToFit];