title: How to make UITableView cell separator like iOS7?
body: <p>In iOS 7 , default <code>UITableViewCell</code> <code>separator</code> is a little bit cutting from left that can show cell's <code>imageView</code>.</p>
  
  <p>I can change to full size with following codes.</p>
  
  <pre><code>[self.tableViewMain setSeparatorInset:UIEdgeInsetsMake(0, 0, 0, 0)];
  </code></pre>
  
  <p>And i want to change it when my iPad orientation is Portrait.</p>
  
  <p>So i tried following codes in rotate event</p>
  
  <pre><code>if(UIInterfaceOrientationIsLandscape(self.interfaceOrientation) ||(UIDeviceOrientationIsLandscape([UIDevice currentDevice].orientation)))
      {
          [self.tableViewMain setSeparatorInset:UIEdgeInsetsMake(0, 0, 0, 0)];
      }
  
      else
      {
          [self.tableViewMain setSeparatorInset:UIEdgeInsetsMake(15, 0, 0, 0)];
      }
  </code></pre>
  
  <p>I want to do it like iOS7 Cell Separator manually.</p>
  
  <p>How can i do it?</p>