Inaccurate device orientation retuned by UIDeviceOrientationDidChangeNotification
<p>I'm listening to the UIDeviceOrientationDidChangeNotification in order to adjust my UI based on the device's orientation. </p>

<p>The problem is that the device orientation I'm getting from the notification seems inaccurate. If I start with the phone in portrait orientation and vertical (as if taking a picture with it) the orientation I get from the notification is correct. As the tilt of the phone approaches horizontal (as in laying flat on a table top) the orientation switches to landscape. This happens much before the phone is actually flat on the table. And this is without rotating the phone towards landscape at all. Is as if it had a preference for landscape. </p>

<p>When using other apps, like mail, I don't see this same behavior. It seems that mail only switches orientation once it's really sure you've gone to the new orientation.</p>

<p>Any help greatly appreciated.</p>

<p>Thanks,</p>
