• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application windows are expected to have a root view controller at the end of application launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Application windows are expected to have a root view controller at the end of application launch (From: Rick Mann <email@hidden>)
 >Re: Application windows are expected to have a root view controller at the end of application launch (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Create a NSURL as a way to validate urls - not working
  • Next by Date: Re: Inconvenient exception impossible to get rid of?
  • Previous by thread: Re: Application windows are expected to have a root view controller at the end of application launch
  • Next by thread: iOS App trust on first launch
  • Index(es):
    • Date
    • Thread