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 7984395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:15:24+00:00 2026-06-04T11:15:24+00:00

Created a simple navigation controller based application. Application delegate class has Outlets for window

  • 0

Created a simple navigation controller based application. Application delegate class has Outlets for window and navcontroller.

MainWindow.xib has a Window and a navigation controller. Files owner is UIApplication and I have an Application Delegate (class is of course my App Delegate) with an outlet to the window and the nav controller, plus a delegate connected to the Files Owner.

In applicationDidFinishLaunching I am trying to set the window’s rootViewController to the navigationController but the Outlet for the navigationController is nil and (of course) the application comes up with a blank window…and the error “Application windows are expected to have a root view controller at the end of application launch”.

What am I missing here?

  • 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-04T11:15:25+00:00Added an answer on June 4, 2026 at 11:15 am

    Does the Navigation controller itself have a root view controller? A navigation controller cannot exist solely on its own. It is a wrapper view around other ViewControllers. There should be a setting in the view controller properties tab in Interface Builder that will let you set either another view controller in the xib as its root, or load it from a different xib.

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

Sidebar

Related Questions

I would like to create an utility application that has a navigation based flipside,
I've created a simple navigation application, which alternates between two views through the use
I wrote simple UINavigationController based app with two ViewControllers; In the first view controller
I am working on a navigation based application which involves LOGIN view. My approach
1>1st project : I have created a window based cocoa touch app just for
I've created a very simple app with a UINavigationController as the root controller but
Preface: I am not using *.xib files. I instantiate a UINavigationController in a class
I have a map with only one annotation.I created a simple class which I
I've followed a how-to to create a simple Tab bar controller with a navigation
I want to create some simple navigation in sencha touch 2. I have questions

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.