I have a UIView in the UITableViewCell , which needs to change its height when user taps on "less/more" button
My code is
- (CGFloat)tableView:(UITableView *)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return UITableViewAutomaticDimension;
}