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.
> -
> (BOOL)shouldAutorotateToInterfaceOrien
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
>
>
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 -
(BOOL)shouldAutoRotateToInterface
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