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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:53:35+00:00 2026-05-25T17:53:35+00:00

I think the answer to my question is Yes, but i just would like

  • 0

I think the answer to my question is “Yes”, but i just would like a confirmation from everyone.

I have a UITableView which should “slide” to another UIViewController when i select a row.
I’ve done this before with other apps (and they’ve included the UINavigationController, though in a UITabView).

So im wondering:
Is a UINavigationController required in order to use the self.navigationController pushViewController?

If so (which again i suspect to be true), where must I define the UINavigationController?
In the AppDelegate? In the main/primary UIViewController?

  • 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-25T17:53:36+00:00Added an answer on May 25, 2026 at 5:53 pm

    The short answer is: Yes.

    UINavigationController was designed with the purpose of managing and animating a stack of view controllers on and off the screen (in conjunction with a few other interface elements such as a navigation bar, or a toolbar). Traditionally, UINavigationControllers are strongly held and initialized by the App Delegate, as they are considered a top-priority root object. An example class showing the proper usage of a UINavigationController might look like this:

    #import <UIKit/UIKit.h>
    
    @interface CFIExampleAppDelegate : NSResponder <UIApplicationDelegate>
    
    @property (nonatomic, strong) UIWindow *window;
    @property (nonatomic, strong) UINavigationController *navigationController;
    
    @end
    
    @implementation CFIExampleAppDelegate
    
    -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
        self.window = [[UIWindow alloc]initWithFrame:UIScreen.mainScreen.bounds];
        self.navigationController = [[UINavigationController alloc]initWithRootViewController:/*Some Controller Instance*/];
        self.window.rootViewController = self.navigationController;
        [self.window makeKeyAndVisible];
    
        return YES;
    }
    
    @end
    

    The long answer, as always, is No.

    UINavigationController can be trivially reimplemented (and it has, many times) to great effect. It’s as simple as subclassing UIViewController and bolting on some kind of stack (like an NSMutableArray).

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

Sidebar

Related Questions

I think answer on my question is NO. But still, I'm wondering is it
I think its a rather simple question but I couldn't really find an answer
[see later answer for more] I think this is just a simple rails question,
I think this is a simple question, but I can not find the answer
I think I already know the answer to this but thought I would ask
One would think I can easily find an answer to this question, and perhaps
I am sure there is a very simple answer to this question, I think
I'm hoping this question has a very simple answer. I can think of ways
I think the answer to this is no going in, but I could use
I think I already know the answer to this one, but i hope maybe

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.