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

  • Home
  • SEARCH
  • 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 8103079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:25:28+00:00 2026-06-05T23:25:28+00:00

Am working with my first storyboard application and am having a problem. When I

  • 0

Am working with my first storyboard application and am having a problem. When I drag a navigation controller to my layout, the root controller always ends up as a table view controller, when all I want is just a basic view controller.

How do I keep the navigation controller from setting up the root view controller as a root table view controller?

Thank you.

  • 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-05T23:25:32+00:00Added an answer on June 5, 2026 at 11:25 pm

    This has changed sometime between Xcode 4.2 and 4.3.3. I had Xcode 4.2 on another computer running Snow Leopard, and adding a navigation controller sets up a regular view controller as the root view controller, but Xcode 4.3.3 on my main development machine running Lion behaves as you described–it adds a table view controller.

    I’m not aware of any way to change this (maybe Xcode ninjas could hack some templates?), but of course you can just delete the table view controller and add a new regular view controller, and set its custom class. Then you Control-drag from the navigation controller to your new view controller, and select “Relationship – Root View Controller” from the pop-up menu (this used to say “… – rootViewController” in Xcode 4.2).

    Erica Sadun’s “The iOS 5 Developer’s Cookbook” relies on the old Xcode 4.2 behavior in Chapter 4’s storyboard walkthrough, but I managed to complete it with no issues using the workaround I described above, which you probably have found already. But if not, hope this helps.

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

Sidebar

Related Questions

I am new to wpf and i am working on first application i have
I'm switching controllers via my navigation controller. When my app first loads the Appointment
I have a problem with ui dialog close function. My code working first click
I have pretty much finished my first working Symbian application, but in my hastened
i am working on storyboards which has couple of views on first view a
For some weird reason, the codes below are first working, then website is redirecting
Working on my first Rails project, I used Ryan Bates' Nifty-Generators to create the
I working on my first ASP.net MVC project and and i got some problems
I'm working on my first object oriented bit of python and I have the
I'm working on my first 'real' F# assembly, and trying to do things right.

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.