Re: Why can't a modal view controller present another in viewDidLoad?
Re: Why can't a modal view controller present another in viewDidLoad?
- Subject: Re: Why can't a modal view controller present another in viewDidLoad?
- From: Matt Neuburg <email@hidden>
- Date: Sun, 16 Jan 2011 18:46:34 -0800
On Sun, 16 Jan 2011 13:47:06 -0800, G S <email@hidden> said:
>On Sun, Jan 16, 2011 at 11:47 AM, Luke Hiesterman <email@hidden> 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.
Or just use delayed performance. I use delayed performance a *lot*. Like whipped cream, it covers a multitude of sins. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________
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