On Thu, 31 Dec 2009 23:49:54 -0800 (PST), Ian was here <howlew...@yahoo.com> said: >It works fine when I initially attach a view to the view controller, but when releasing it and attaching a new view, it screws up.
There may be some larger misconception at work here. You should not be "releasing" a view controller's view and "attaching a new view". One view controller, one view. Let each view controller manage its view; you manage the view controllers. For a new view, make a new view controller. Okay, I've said the same thing several different ways now. :) Also, it might help to be aware of the discussion we (meaning I) just had here on the topic of iPhone apps that are autorotated at startup. The problem here is that loadView / viewDidLoad are too soon to do anything relating to the interface; you must wait until didRotate... arrives (and the docs fail to warn of this). m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com