I am sending a view orientation data which works great, if the phone is held
up...
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
if( orientation == UIDeviceOrientationLandscapeLeft || orientation ==
UIDeviceOrientationLandscapeRight ){
[myView iAmLandscape:YES];
}
UIViewcontroller with autorotation is the best way to do this. Then
you don't need to deal with UIDevice orientations.
Luke
Sent from my iPhone.
On Jan 21, 2010, at 8:30 AM, Eric E. Dolecki edole...@gmail.com
wrote:
I am sending a view orientation data which works great, if the phone
Wouldn't autorotation fall into the same category of problem? Should I also
look into device rotation in tandem with orientation just in case
orientation fails?
On Thu, Jan 21, 2010 at 12:17 PM, Luke Hiesterman luket...@apple.comwrote:
UIViewcontroller with autorotation is the best way to do
If you use autorotation you guarantee that your own app's rotation
follows the same patterns of the system apps and thereby what the user
is used to and expects. While a flat phone is by nature ambiguous from
an interface orientation perspective, following the system's lead is
the best
Okay, that's what I am doing right now. Only in one circumstance will my app
require the device to change orientation for it to look correct so I guess
that's not too terribly bad.
Eric
On Thu, Jan 21, 2010 at 12:47 PM, Luke Hiesterman luket...@apple.comwrote:
If you use autorotation you