In table view controller. I have number rows and I'm using Auto-layout to manage the components in prototype-cell.
Requirement: Need to hide few rows based on user input.
Problem: When I hide the cell then grey area appeared thus I had to use Height of Row method to return 0 if row is hidden but for the enabled rows else I am using UITableViewAutomaticDimension row height for each cell so that height can be calculated dynamically as per the requirement.
Goal: Need to hide few rows and show few rows as per the dynamic requirement. I need to use Self Resizing feature so that cell height is automatically calculated as per its components.
Any suggestion?
 
     
    