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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:19:33+00:00 2026-05-26T03:19:33+00:00

In my app delegate interface I have: @interface pivcalc1AppDelegate : NSObject <UIApplicationDelegate> { UIWindow

  • 0

In my app delegate interface I have:

@interface pivcalc1AppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
IBOutlet UITabBarController *RootController;

}
@property (nonatomic, retain) IBOutlet UIWindow *Window;
@property (nonatomic, retain) IBOutlet UITabBarController *RootController;

in implementation, I have:

@synthesize Window;
@synthesize RootController;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:   (NSDictionary *)launchOptions
{

[Window addSubview:RootController.view];
// Override point for customization after application launch.
[self.Window makeKeyAndVisible];
return YES;
}

In my main xib window I have a tab bar controller which is connected to app delegate as rootController.
When I run the program, the window shows but the tab bar view does not get loaded.
Appreciate any help. Thanks.

  • 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-26T03:19:34+00:00Added an answer on May 26, 2026 at 3:19 am

    Are you have a subViewController in RootController in xib? if you’re not, It’s code following.

    UITabBarController should be have a subViewController.

        UINavigationController *localNavigationController;
    
        NSMutableArray *localViewControllerArray = [[NSMutableArray alloc] initWithCapacity:2];
    
        SubViewController *subviewController0 = [[SubViewController alloc] init];
        localNavigationController = [[UINavigationController alloc] initWithRootViewController:subviewController0];
        [localViewControllerArray addObject:localNavigationController];
        [subviewController0 release];
        [localNavigationController release];
    
        SubViewController *subviewController1 = [[SubViewController alloc] init];
        localNavigationController = [[UINavigationController alloc] initWithRootViewController:subviewController1];
        [localViewControllerArray addObject:localNavigationController];
        [subviewController1 release];
    
        [localNavigationController release];
    
        RootController.viewControllers = localViewControllerArray;
        [localViewControllerArray release];
    
        [self.window addSubview:tabBarController.view];
        [self.window makeKeyAndVisible];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an object declared in my app delegate: @interface MyAppDelegate : NSObject <UIApplicationDelegate>
I'm writing a Cocoa application where I have an auto generated app delegate:(MyAppDelegate.h/MyAppDelegate.m) So
I have a split view-based app that presents a master-detail interface, and uses a
I have created a Variable called myDBManager in my AppDelegate: @interface myAppDelegate : NSObject
I have an App Delegate and a 3 view controllers in my project. I
I have a project on iPhone with iOS4. A instance variable of app delegate
I have this singleton: UserData.h @interface UserData : NSObject { User *user; } +
I have a tabBar application. In the app delegate i create one NSMutableArray, one
In my App Delegate I overrode shouldAutorotateToInterfaceOrientation in my UITabBarController (don't worry - I
i have problem with showing an UIView on app delegate ... there is no

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.