• 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: pls explain rotated iPhone coordinates to me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pls explain rotated iPhone coordinates to me


  • Subject: Re: pls explain rotated iPhone coordinates to me
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 16 Dec 2009 09:28:16 -0800
  • Thread-topic: pls explain rotated iPhone coordinates to me

On or about 12/15/09 6:35 PM, thus spake "Luke the Hiesterman"
<email@hidden>:

> It looks like this is a quirk of the transform not updating in time
> when launching in landscape mode. Feel free to file a bug.

Thanks so much! I think it's really a docs bug. Again I refer to this page:

<http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/i
PhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html#/
/apple_ref/doc/uid/TP40007072-CH7-SW18>

The docs explicitly state that the three bullet points are *all* you need to
do. That's false. If the docs would add a warning to this effect, "Don't use
viewDidLoad on a view that rotates as it loads, because it's called before
the rotation occurs", that would have solved my issue. By postponing all
initialization until after the didRotate... call comes in, I'm now able to
use width as width and height as height! :) m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com



_______________________________________________

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

  • Prev by Date: Question in regards to .ics files
  • Next by Date: ImageAndTextCell still the way to go for icons in outline views?
  • Previous by thread: Re: pls explain rotated iPhone coordinates to me
  • Next by thread: Setting a frame on a CALayer increments its retain count!?
  • Index(es):
    • Date
    • Thread