title: Scrolling a UITableView cell up and then expand it
body: <p>I have a UITableView with custom cells in it. The cells expands when I tap on them. I am facing an issue when I tap on the cell which is half cut by the bottom screen edge of the device. When I tap on this cell, I want cell to move up and then expand to show the details but right now it just expands and I do not know if is expanded or not. I need to manually scroll the table view up to see it.</p>
  
  <p>Below is my cell tapping code. I implemented the related cell expansion methods and cell is expanding properly.</p>
  
  <pre><code>- (void)cartTableView:(UITableView *)iTableView didSelectRowAtIndexPath:(NSIndexPath *)iIndexPath {
      [self.temporaryCartTable scrollToRowAtIndexPath:iIndexPath atScrollPosition:UITableViewScrollPositionMiddle animated:YES];
      [self expandOrCollapseCartCellAtIndex:iIndexPath];
  }
  
  - (void)expandOrCollapseCartCellAtIndex:(NSIndexPath *)iIndexPath {
  
      self.selectedIndexPath = iIndexPath;
      [self.temporaryCartTable beginUpdates];
      [self.temporaryCartTable reloadRowsAtIndexPaths:@[iIndexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
      [self.temporaryCartTable endUpdates];
  }
  </code></pre>