title: how do you increase the padding for a UITableView
body: <p>When I increase the size of a <code>UITableViewCell</code>, the section headers styling becomes messy. The code I am using, was suggested in "<a href="https://stackoverflow.com/questions/2539021/how-to-set-the-width-of-a-cell-in-a-uitableview-in-grouped-style">How to set the width of a cell in a UITableView in grouped style</a>" and is as follows:</p>
  
  <p>I have inherited from <code>UITableViewCell</code> and created this class:</p>
  
  <pre><code>@implementation UITableViewCellHistory {
  }
  
  -(bool) isIPAD
  {
      return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad;
  }
  
  - (void)setFrame:(CGRect)frame {
      if ([self isIPAD])
      {
          NSInteger inset = 40;
          frame.origin.y += inset;
          frame.size.height -= 2 * inset;
          [super setFrame:frame];
      }
  }
  @end
  </code></pre>
  
  <p>then in my class with the table view in it I have used the above class as my cell:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath    *)indexPath
  {
      if (indexPath.section == [data numberOfDaysWithData])
      {
          NSAssert([data hasMore], @"how come we have more sections than days when more is low?");
          UITableViewCell *cell = [[UITableViewCellHistory alloc]    initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
  </code></pre>
  
  <p>But when I increase the size of the padding further I the headings in the tableview get overlapped by rows. Am I missing something?</p>