title: UIDeviceOrientationUnknown in landscape mode
body: <p>I am trying to figure out what orientation the iphone has in the simulator and instead of giving it to me using the UIDevice orientation property I just get UIDeviceOrientationUnknown.</p>
  
  <p>Does this property not work in the simulator?  What could be the possible reason for this happening?</p>
  
  <p>I am using opengl es</p>