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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:27:53+00:00 2026-05-27T16:27:53+00:00

I created a Tab-based application in Xcode 4 using the Tabbed Application template. In

  • 0

I created a Tab-based application in Xcode 4 using the “Tabbed Application template”.

In one of the view controllers, I have a Table View. Now when the user clicks on an item the table displays, I want a new view to appear.

I tried using:

[self.navigationController pushViewController:self.detailsViewController animated:YES];

but that doesn’t work. On further inspection, I found out that self.navigationController is null, so I guess I have to create it somewhere.

Could you point me to where would I create it?

I am guessing it would be in the Application Delegate’s applicationDidFinishLaunching method? Here’s how it currently looks (this has been generated automatically by Xcode):

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.
    return YES;
}

Thanks a lot for any help, I’ve been stuck on this for a while and I can’t seem to find out how to do this…

  • 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-27T16:27:53+00:00Added an answer on May 27, 2026 at 4:27 pm

    Your best bet would be to embed the view inside of a Navigation Controller. If your using the Storyboard, select the view (make sure it is outlined in blue) then go to Editor->Embed in Navigation Controller.

    If you are doing it through code, then where you initially created this view, create a UINavigationController and initialize it with this view’s view controller.

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

Sidebar

Related Questions

I have Xcode 4 and I created an application using the Tab Bar template
I am new to iphone development.I have created a view based application.Now i want
I have created a tab based app, in one of the tab, there is
So, right now I had created a view-based application with 8 different views. I
I have following problem. I have created a tab based Application with three Views
I created a tab bar application from the template and added a navigation controller
I have created a horizontal menu with 5 tab options using a ul and
I have created an application which needs to have a profile box tab which
I have created an windows service. I want to open some windows based application
We have a tab based application that needs to support the ability for a

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.