Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7858027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:14:06+00:00 2026-06-02T21:14:06+00:00

I just learned my applicationDidFinishLaunching was not being triggered. Doing a search around here,

  • 0

I just learned my applicationDidFinishLaunching was not being triggered. Doing a search around here, it seems I need to set my AppDelegate as a delegate of my main window.

The answers here explain how to do it in IB with main.xib. I’m on Xcode 4.3.2 using storyboard. How do I do the same in storyboard?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:14:09+00:00Added an answer on June 2, 2026 at 9:14 pm

    No. You don’t set the app delegate as a delegate of the main window but the shared UIApplication instance (in the other case it would be called window delegate). You’d better change your main() function; call

    int retVal = UIApplicationMain(argc, argv, nil, @"MyAppDelegateClass");
    

    instead of the default

    int retVal = UIApplicationMain(argc, argv, nil, nil);
    

    call.

    Also note that applicationDidFinishLaunching is deprecated. You may need to transition to the new

    application:didFinishWithLaunching:
    

    delegate method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a newbie and just learned that if I define say package my.first.group.here;
I've just recently learned about friend class concept in C++ (I've googled around for
Having just learned that many cpp features (including the stl vector class) do not
I just learned that OCAML have to have a . postfix for doing float
I've just learned the basics of Ruby after being very happy with Python for
I just learned that an object can have only one ID, so I'm not
I just learned, here , about nxml-mode , which, according to the README, is
I just learned that by default, Oracle does not grant the 'create session' privilege
I'm doing a javascript assignment and have just learned that I can do it
I just learned (the hard way) that Java Component s can only have one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.