Re: iPhone/iPad device orientation problems

2010-10-14 Thread David Duncan
On Oct 13, 2010, at 10:36 PM, Philip Mobley wrote: In your UIViewController write something like this (example below is to force the app into landscape mode only): // Override to allow orientations other than the default portrait orientation. -

iPhone/iPad device orientation problems

2010-10-13 Thread William Squires
Hi What's the proper way to force an iOS device to set the orientation to one of UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown ? The (relatively new) Wrox book says to do something along the

Re: iPhone/iPad device orientation problems

2010-10-13 Thread M Pulis
Sir, Not sure I understand the problem... the user determines the orientation of the device... all (I think) we can/should do is respond to whatever orientation is when we launch and when notified of changes... To force the device, have you looked at -

Re: iPhone/iPad device orientation problems

2010-10-13 Thread Philip Mobley
On Oct 13, 2010, at 7:16 PM, William Squires wrote: Hi What's the proper way to force an iOS device to set the orientation to one of UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown ? So