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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:48:49+00:00 2026-06-14T11:48:49+00:00

This is a very simple question, but I don’t find how to do it.

  • 0

This is a very simple question, but I don’t find how to do it.

The first thing I found was that I have to add a navigation controller. Although I don’t need to show a navigation controller, I tried it.
I found these tutorials:
http://www.ralfebert.de/tutorials/iosdev/navigationcontroller/

http://www.techotopia.com/index.php/Creating_a_Navigation_based_iOS_4_iPhone_Application_using_TableViews

http://iosmadesimple.blogspot.de/2012/09/navigation-based-project-doing-it-using.html

and others, where it says, I have to connect the navigation controller to window object. But in the .xib there is no window object. There seems to be some update, I found window object created programmatically in AppDelegate.m

Does it mean that I have to connect them programmatically, if yes, how?

I’m using Xcode 4.4.1 building for 5.1.

Then I found hacky approach, to replace views described here: http://fuelyourcoding.com/ios-basics-how-to-load-a-uiview-without-a-navigation-controller/

But I want to know what’s the standard way to do it.

In Apple’s dev guide is something about storyboards. Is that what I need?

I need to know how I launch a separate, new screen (with own controller and .xib of course), if possible, without having to add a navigation bar to the app.

  • 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-14T11:48:50+00:00Added an answer on June 14, 2026 at 11:48 am

    The best way to do this is to use a navigation controller.

    In the AppDelegate applicationWillFinishLaunchingWithOptions put this…

    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:<the view controller you want to use first>];
    
    self.window.rootViewController = self.navController;
    [self.window makeKeyAndVisible];
    

    This will launch your app with a NavigationController and the first thing you see will be your initial view controller.

    To hide the bar…

    In the viewWillAppear part of your initial view controller…

    [self.navigationController setNavigationBarHidden:YES animated:YES];
    

    This will hide the navigation bar for that controller.

    To push to a new view controller…

    MyNewViewController *newVc = [[MyNewViewController... (set it up).
    
    [self.navigationController pushViewController:newVc animated:YES];
    

    This is done from the initial view controller.

    Then to pop back. In the new VC just do this…

    [self.navigationController popViewControllerAnimated:YES];
    

    You’ll never really “own” the navigation controller and you’ll never really see it. It just sits behind your app managing the transitions and stuff.

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

Sidebar

Related Questions

This may be a very simple question but I don't what's the wrong thing
That seems a very simple question but I don't found anything on internet (or
This looked like a very simple question but I couldn't find the answer. How
This is a very simple question, but I can't seem to find something about
This is another probably very simple question, but I haven't been able to find
I know this is a very simple question, but unfortunately I don't know enough
This is probably a very simple question, but I can't find the answer, so
This question may look to be very simple but i don't know the answer.
This is my first question here, probably a very simple one but I can't
This may be a very simple question, but at the moment I don't actually

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.