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

  • Home
  • SEARCH
  • 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 8920733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:21:08+00:00 2026-06-15T06:21:08+00:00

In a tabbar based application, I have created a splash screen and set it

  • 0

In a tabbar based application, I have created a splash screen and set it as a root view controller. In the splashViewController, I want to set the tabbar controller as the windows rootViewControoler.

 SplashViewController *splashViewController = [[SplashViewController alloc]initWithNibName:nil bundle:nil];
splashViewController.loginview = loginview;

self.window.rootViewController = splashViewController;

//SplashViewController

[NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(animationFinished) userInfo:nil repeats:nil];

-(void)animationFinished
{
    Appdelegate *delegate = (AppDelegate*)([UIApplication sharedApplication].delegate);
    delegate.window.rootViewController = delegate.tabBarController;
}

All the code runs without any error, animation finished method is also called. However, the splash screen always stays and user is not redirected to tabBarController even after I set the windows rootViewController as tabbar Controller. What is that I am doing wrong?

  • 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-15T06:21:09+00:00Added an answer on June 15, 2026 at 6:21 am

    It would be simpler to start out with the tab bar controller as the root of your application and, if you absolutely must have a splash screen, present it as a modal display. That way, when you dismiss the modal controller, you just continue with the real application.

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

Sidebar

Related Questions

I am new to iphone development.I have created a view based application.Now i want
hii... I am making a view based application in which I have tabbar controller
I have created a tabbar through nib with three items in a view based
I have a tabbar application that has one screen that displays statistics based on
I'm implementing a split view based application. I have 3 tabs for 3 root
I am developing a tab Bar based Application.On a particular view controller I have
I have requirement as following like showing ABPeoplePickerNavigationController in tabbar based application. I researched
I have a tabbar application. And the item of first tab is Navigation Controller.
I created a window application, which has a tabbar controller with four tabbar items.
I have a tab based application with a navigation controller in it. When 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.