title: how to hide empty rows in a UITableView and change the height of the Uitableview based on non-empty rows
body: <p>I have couple of problems with my <code>UITableView</code>.</p>
  
  <ol>
  <li><p>When I add a <code>UITableview</code> on my page, by default it brings up some fixed number of rows,
  even though I set number of rows in section as <code>1</code>. All the rows appear except the first row, <em>and</em> all are empty rows. So, I want to hide all the empty rows in the <code>UItableview</code>. </p></li>
  <li><p>Based on the non-empty rows, I want to change the height of my <code>UItableView</code>.</p></li>
  </ol>