Re: Application windows are expected to have a root view controller at the end of application launch
Re: Application windows are expected to have a root view controller at the end of application launch
- Subject: Re: Application windows are expected to have a root view controller at the end of application launch
- From: Rick Mann <email@hidden>
- Date: Mon, 02 Mar 2015 16:23:54 -0800
> On Mar 2, 2015, at 08:51 , David Duncan <email@hidden> wrote:
>
>
>> On Mar 1, 2015, at 10:36 PM, Rick Mann <email@hidden> wrote:
>>
>> I'm adding background downloading on remote notification, so I removed all my UI code from appDidFinishLaunching. Now I get this error: "Application windows are expected to have a root view controller at the end of application launch"
>>
>> So, I have to create UI even though I won't be displaying it?
>
>
> You should only get this if you have created a window and made it visible.
Hmm. I didn't believe that I did, because I don't makeKeyAndVisible until later, but...it's a pre-storyboard app, and maybe it's being created when the main NIB is loaded.
--
Rick Mann
email@hidden
_______________________________________________
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