title: UITableView contentInset makes table view scroll horizontally in addition to vertically
body: <p>I'm creating a UITableViewController in code and pushing it on top of the navigation stack. 
  It's table view is intended to just show a simple list of text items.</p>
  
  <p>I need to add some contentInset to my table view which I add in the init method of my UITableViewController</p>
  
  <pre><code>self.tableView.contentInset = UIEdgeInsetsMake(7.0f, 5.0f, 7.0f, 5.0f);
  </code></pre>
  
  <p>However, when I load the table view it seems the left and right contentInset have actually stretched the width of my table view by 10. I'm now seeing a small horizontal scrollable area. I don't want any sort of horizontal scrolling on my table view. If I remove the contentInset code, my table view behaves plainly i.e. simply provides for vertical scrolling. How I can keep just like that but with my contentInset in place? I tried reducing my contentSize.width by 10 in viewWillAppear, it had no effect.</p>
  
  <p>This seems to be a duplicate but with no acceptable answer: <a href="https://stackoverflow.com/questions/14951196/uitableview-contentinsets-scrolling-content-horizontally">UITableView ContentInsets scrolling content horizontally</a></p>
  
  <p>In the mock I have marked the desired contentInset with dashed line ---</p>
  
  <p><img src="https://i.stack.imgur.com/q0OXe.png" alt="enter image description here"></p>
  
  <p>Thanks.</p>