On Sun, Jan 16, 2011 at 11:47 AM, Luke Hiesterman <luket...@apple.com> wrote:
> viewDidLoad is called the first time the view property of the vc is accessed 
> - that's when loading happens. There is no guarantee that the view is in a 
> window at that time, and presenting a modal vc on a vc whose view is not in a 
> window does not make sense. Perhaps viewDidAppear is what you were looking 
> for. Where does the documentation say you can do this in viewDidLoad?

I should have clarified that; the doc says a modal view can invoke
another modal view, but the examples all have the user triggering it
with a button.  viewDidAppear sounds like a good candidate.  I'll give
it a try.

Thanks!
_______________________________________________

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

Reply via email to