title: how to set uilabel height to 0. or uitbleviewcell height to 0?
body: <p>I have a page like this
  <a href="https://i.stack.imgur.com/0r0Ur.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0r0Ur.png" alt="all values are in UIlabel"></a></p>
  
  <p>Now if I got any value <code>nil</code> I hide that label</p>
  
  <p>Problem :</p>
  
  <p>But when I hide that label it is showing blank space</p>
  
  <p><a href="https://i.stack.imgur.com/6IciD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6IciD.png" alt="showing blank space"></a></p>
  
  <p>here is mycode::</p>
  
  <pre><code> let dic = finalcarexpense.objectAtIndex(indexPath.row) as! NSDictionary
      if lastcruisebool == true
      {
          cell.lblcruisecontroll.text = (dic["cruise_control"] as? String)!
      }
      else
      {
  
          cell.lblcruisecontroll.hidden = true
          cell.placecruisecontrol.hidden = true
      }
  
  
  
      if lastremotebool == true
      {
          cell.lblremotecentrallocking.text = (dic["remote_central_locking"] as? String)!
      }
      else
      {
          cell.lblremotecentrallocking.hidden = true
          cell.placeremotecentrallocking.hidden = true
      }
  
  
      if lastacbool == true
      {
          cell.lblairconditioning.text = (dic["air_conditioning"] as? String)!
      }
      else
      {
          cell.lblairconditioning.hidden = true
          cell.placeac.hidden = true
      }
  
  
      if lastbluetoothbool == true
      {
          cell.lblbluetooth.text = (dic["bluetooth"] as? String)!
      }
      else
      {
          cell.lblbluetooth.hidden = true
          cell.placebluetooth.hidden = true
      }
  
  
      if lastradiocdbool == true
      {
          cell.lblradiocd.text = (dic["radio_cd"] as? String)!
      }
      else
      {
  
          cell.lblradiocd.hidden = true
          cell.placeradiocd.hidden = true
      }
  
  
      if lastpowerbool == true
      {
          cell.lblpowersteering.text = (dic["power_steering"] as? String)!
      }
      else
      {
          cell.lblpowersteering.hidden = true
      }
  </code></pre>
  
  <p>so is there any solution like should i set <code>UILabel</code> hieght 0?? or should i do this with using <code>UITableViewCell</code>??</p>