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

> 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 protected], 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to