Quote:
Originally Posted by Pitfall
Pretty funny... Launch your App with the iPad lying flat on a table and ask for the deviceOrientation. The result is UIDeviceOrientationFaceUp.
What I really want to know is what is the orientation of the "desktop" or "home page".
The problem is this:
Your user has rotated the iPad into some position, watching the icons animate into position. He sees your icon and touches it. So when your App launches it is going to want to match that rotation. So you read the device orientation and go from there.
But wait... If the user rotated the iPad and then laid it down flat, he is still looking at your icon facing him. But when he launches your app and you read the device orientation, all you know is UIDeviceOrientationFaceUp. You want to rotate your App so that it is facing the user, but you don't have the correct information until he picks up the device.
Does anyone know how to read the orientation of the "desktop"?
Thanks.
|
I don't have an iPad, so I'm not quiet sure how the up and down orientation works.
Maybe try splash view first...