title: UITableViewController width is incorrect when app launches in landscape orientation
body: <p>I'm working on a iPad with iOS7.</p>
  
  <p>I have custom <code>UITableViewController</code> subclass that is working very well (i.e. it's displaying all the data as expected), except that it doesn't properly set the width when the device starts in landscape orientation.</p>
  
  <p>If the app is started in portrait mode, the width of the table view is correct - it takes up the entire width of the screen. When I rotate to landscape view, it resizes the table view content to take up all available space. This is fine.</p>
  
  <p>However, if I start the app in landscape view, the width of the table view is only about 3/4 of the available space. This incorrect width persists if I then rotate to portrait mode; the content is resized, but it still only takes up 3/4 of the available width/</p>
  
  <p>I'm not using custom <code>UITableViewCell</code>s, just <code>UITableViewCellStyleSubtitle</code>.</p>
  
  <p>I've tried adding an <code>autoresizingMask</code> to both the cells and the UITableView. However, I'm not convinced I'm doing it in the right place. I've been setting the autoresizingMask in the <code>init</code> method of my TableViewController subclass:</p>
  
  <p><code>self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth</code>.</p>
  
  <p>What do I need to do to get my table view to automatically fit the available width when starting in landscape mode?</p>