title: Device Orientation not working for my app
body: <p>I am having problem in implementing the device orientation methods. I am implementing it as </p>
  
  <p>follows</p>
  
  <pre><code>-(BOOL)shouldAutorotate{
  
  
      return TRUE;
  
      }
  
      -(NSUInteger)supportedInterfaceOrientations{
  
      return UIInterfaceOrientationMaskAll;
  
      }
  </code></pre>
  
  <p>In tha appdelegate I am doing </p>
  
  <pre><code>self.window.rootViewController = self.splitViewController;
  </code></pre>
  
  <p>I want my app to work for all the orientations . But none of the orientation is working </p>
  
  <p>properly.Any help ? My app is targeted IOS 4.3 , but it should also work for IOS 5 and 6 as well.</p>