title: How to support orientation in iOS 5 and 6 without having to modify every single view controller file?
body: <p>My iPad app is set to support both landscape orientations (left and right).  When I run it in the 6.0 or 6.1 simulator it behaves as expected.  But in 5.1, it is locked to portrait (up or down, I can't tell) and doesn't re-orient when the simulator is rotated.</p>
  
  <p>Edit:  This has been marked as duplicate to this question:  <a href="https://stackoverflow.com/questions/12434992/supporting-both-ios-6-and-ios-5-autorotation/13800907#13800907">Supporting both iOS 6 and iOS 5 autorotation</a></p>
  
  <p>I'm changing the question to ask, how can this be done without having to add this function:</p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
  {
      // Return YES for supported orientations
      return UIInterfaceOrientationIsLandscape(interfaceOrientation);
  }
  </code></pre>
  
  <p>To every view controller?</p>