• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPad: Device Orientation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPad: Device Orientation


  • Subject: Re: iPad: Device Orientation
  • From: David Duncan <email@hidden>
  • Date: Wed, 7 Apr 2010 11:22:38 -0700

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) then that would explain why this isn't doing the right thing.

On Apr 7, 2010, at 10:07 AM, Development wrote:

> 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 second(an editor) is manually set to landscape left.
>
> Now, if I load the editor that has to be manually set to landscape first then the whole interface works perfectly. However if I load the mail composer first, which will reorient to any orientation it messes the editor up.
>
> Basically after loading the mail composer and dismissing it, if I go to the editor it only checks the last known interface orientation which is usually portrait (It still doesn't work if the last one was landscape). This is even though I am manually reorienting the status bar and the device is in fact being turned to landscape left.  And turning the device does not cause it to recheck the orientation in the shouldautorotate method.
>
> The device only shows that it is still in portrait even though the status bar shows that it is correctly oriented.
> So basically I have no idea how to correct this since even if I manually rotate the UIView that I am displaying it does not display correctly. Am I doing something wrong or am I up against a bug? BTW this works just fine on iPhone just not on iPad

--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iPad: Device Orientation
      • From: Development <email@hidden>
References: 
 >iPad: Device Orientation (From: Development <email@hidden>)

  • Prev by Date: Re: OS X Game Programming
  • Next by Date: Re: Alternative Location of Cocoa ID3 Framework??
  • Previous by thread: iPad: Device Orientation
  • Next by thread: Re: iPad: Device Orientation
  • Index(es):
    • Date
    • Thread