title: How to hide UITableView empty rows,swift
body: <p>How can I hide row lines of UITableView from those rows, what are not used. For example, look at screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/cEYyH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cEYyH.png" alt="enter image description here"></a></p>
  
  <p>Can I show just 4 lines and hide other lines what are not used? So, I show just 4 lines and further comes white screen, not lines as now</p>