title: UISegmented control being reloaded on UITableView
body: <p>I have a dynamic UITableView. On the first row of the first section I have a segmentedControll (everything with prototype cells, subclassing and delegating to the UITableViewController). With this segmented control I want an additional row to appear on the very same section. What I do is to have a conditional on the <code>numberOfRowsInSection</code> and then when the SegmentedControl is tapped it triggers the following:</p>
  
  <pre><code>  if (cellPath.section==0 &amp;&amp; cellPath.row==1) {
  
          if (segmentedCell.segmentControl.selectedSegmentIndex==0) {
  
              reverse=NO;
  
             [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
  
          }else if (segmentedCell.segmentControl.selectedSegmentIndex==1){
  
              reverse=YES;
  
              [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
  
   }
  
  }
  </code></pre>
  
  <p>it somehow works, but the problem is that the SegmentedControl also gets reloaded at its initial state and you can inmagine the rest.</p>
  
  <p>Any idea on how to workaround this? I've also tried reloadRowsAtIndex..., but doesn't work (I did put the begin/end ).</p>
  
  <p>Thanks in advance!</p>