title: Unable to rotate iPhone to the right direction
body: <p>i've got this strange behavior from my iPhone device.
  Hi built a view controller that can rotate from Left to Right landscape mode. Everything goes well in the simulator but when i build the project to the iPhone it always rotate to Left Landscape.</p>
  
  <p>Here the two methods for the handling of the orientation</p>
  
  <pre><code>- (BOOL)shouldAutorotate {
      return NO;
  }
  
  - (NSUInteger)supportedInterfaceOrientations {
      return UIDeviceOrientationLandscapeRight | UIInterfaceOrientationMaskLandscapeLeft;
  }
  </code></pre>
  
  <p>Is this some kind of accelerometer issue??</p>
  
  <p>Thanks</p>