title: How can i change the background color of a table cell with multiple sections?
body: <p>I have a table view with multiple sections and don't know how to change the background color when i touch that row. </p>
  
  <p>I've found this link about table cells but it is addressed to tables with only one section : </p>
  
  <p><a href="https://stackoverflow.com/questions/2598062/changing-cell-background-on-click-on-cell-in-iphone">changing cell background on click on cell in iphone</a>. </p>
  
  <pre><code>cell.selectedBackgroundView = [[ UIView alloc] init];
  [cell.selectedBackgroundView setBackgroundColor:[UIColor purpleColor]];
  </code></pre>
  
  <p>if i use the code from this link, cells that are rounded (the first and last in every section) will have a rectangle on finger over which doesn't look good.</p>
  
  <p>How can i make this rectangle curved around the edges for the first and last row in every section ?</p>