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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:20:25+00:00 2026-05-16T02:20:25+00:00

I am working on my first iPhone app and making good progress. But there

  • 0

I am working on my first iPhone app and making good progress. But there is one thing I just don’t understand.

When my app starts it displays a UIView with some functionality on it. This works fine. One of the buttons on that screen is supposed to load a new view (HistoryViewController) which contains a navigation controller.

The problem is… whenever HistoryViewController is loaded the app crashes because there is no view. It’s true because in the xib-File I can’t connect the File’s Owner’s view to anything:
http://www.freeimagehosting.net/image.php?1a3caa8b8d.png

I definitely have a lack of knowledge somewhere but after hours of research I have not been able to solve this problem.

Any hints?
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-05-16T02:20:26+00:00Added an answer on May 16, 2026 at 2:20 am

    It’s hard to tell what your problem is exactly, but I’ll offer some advice.

    When creating a navigation controller (or tab controller for that matter) in interface builder, its easy to not understand what is really happening, so my suggestion drop interface builder for a second and lets build it in code.

    In general I really dislike building either UI Navigation Controller or tab view controller in interface builder, I really just rather build the views themselves and create the UINavigationController in code.

    You have a view which shows the HistoryTableViewController which you want to be contained in a UINavigationController so the code to do this is:

    - (void) showHistory 
    {
          HistoryViewController *historyVC = [[HistoryViewController alloc] init];
          // If you create historyviewcontroller in nib
          // HistoryViewController *histroyVC [[HistoryViewController alloc] initWithNibName:@"myNib" bundle:nil];
    
          UINavigationController *navController = [[UINavigationController alloc] initWithRootController:histroyViewController];
          [self presentModalViewContoller:navController animated:YES];
    }
    

    This will create a nav controller showing your history view controller as the root view controller. Can’t be easier.

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

Sidebar

Related Questions

i'm working on iphone app which will show 4 buttons in first view. on
I'm working on my first iPhone app and have been able to get most
I am working on one iPhone app which involves a push notification. As I
I'm working on a Core Data app (for iPhone 3.0, though I don't think
I'm working on making an iPhone version of an Android app that I've written
I'm working on my first iPhone app. My UI is composed of 4 tabs.
I am working with my first iphone app. and now i am working with
I'm working on an iPhone app (first real programming project) and I had two
I am currently working on my first app for the iPhone, I am almost
I'm working on an iPhone app with only one view, a UITextView, and 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.