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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:52:38+00:00 2026-06-13T19:52:38+00:00

I have built my table using Storyboards. I have a Table View embedded in

  • 0

I have built my table using Storyboards. I have a Table View embedded in a Navigation Controller. My Details View is also a Table View Controller embedded in a Navigation Controller. Here is my code:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  {
    NHCDependantDetailsViewController *detailView = [self.storyboard instantiateViewControllerWithIdentifier:@"AddDependant"];
    [self.navigationController pushViewController:detailView animated:YES];
  }

I’ve discovered that the problem is that my Navigation Controller is null. Unfortunately, I have no idea how or where to correctly fix this. Thank you in advance.

EDIT: I have followed the advice below to set the navigation controller as the initial view controller, but now I cannot reach my TableView. Perhaps the problem is evident in this image of my storyboard? Having two nav arrows there can’t be good…

enter image description 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-13T19:52:40+00:00Added an answer on June 13, 2026 at 7:52 pm

    I assume that your storyboard has 1 Table View which is embedded in a Navigation Controller and NHCDependantDetailsViewController which is also embedded in a Navigation Controller.

    First of all, you need to set the the Navigation Controller of your table view as the initial view controller by ticking “Is Initial View Controller” on the attribute inspector.

    Secondly, I think it is not necessary to embed NHCDependantDetailsViewController in a Navigation Controller as you can push many view controller to your main navigator controller.

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

Sidebar

Related Questions

I have a simple table view which I have built using an example from
I have an app that has a Navigation Controller built from storyboard. Each view
I'm using XCode 4.2 and have built my UI using Storyboards. I need to
I have built a table from a MYSQL database using PHP. There are 4
I have a table built out in a Razor view that goes like so:
I have built a function using jQuery to insert into a table a new
I have built a calculator using FancyBox cash flow forecast (hit view forecast). Now
I have built a table which is basically done by HorizontalScrollView inside a ScrollView
I have an HTML table containing a few rows (this is built dynamically). All
I have built a blog application using Ruby on Rails. In the application I

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.