title: Why the [UIApplication sharedApplication].statusBarOrientation returns wrong values
body: <p>Hi in my application i would like to know the <code>statusbarorientation</code> value. For that i am using  <code>[UIApplication sharedApplication].statusBarOrientation</code> method. Actually this method have to return 4 for landscape and 2 for potrait mode. But this method returning the values in opposite way. Means for landscape 2 and for potrait 4. Please let me know how to fix this issue.In <code>supportedInterfaceOrientations</code> method i am using return <code>UIInterfaceOrientationMaskAll;</code></p>
  
  <p>Please help me in resolving this issue.</p>