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
Possible answer to this
The forums seem to have a some people posting very similar issues to this one.
I'm assuming this means that since my iPhone version of the application works
perfectly, and because I'm not the only one having this problem that this is a
platform issue, in other words need
Well in the viewcontrollers I'm using the -
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
and returning yes when the orientation is: UIInterfaceOrientationLandscapeLeft
for the editor and YES when it's portrait in the mail composer.
I am not using de
How are you checking and working with orientations?
If your using the View Controller orientation notifications, then this should
just work (if your doing everything correctly). If your using UIDevice
orientation notifications (which it sounds like since you have to move the
status bar manually
Ok I'm going to try to explain this...
I have an application with two different view controllers. One view controller
handles a compose mail UI. The built in message frame work one. That is usually
allowed to reorient to any device orientation but will usually be used only in
portrait.
The se