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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:48:39+00:00 2026-05-20T03:48:39+00:00

So I have an iPhone app that needs to have 2 splash screens. During

  • 0

So I have an iPhone app that needs to have 2 splash screens.

During the first one I need to check if my sqlite database is there and has all the correct values for a specific table. After 3 seconds, the second splash screen should fire, after another 3 seconds, my first view comes up.

I already have a rootcontroller, its of type UITabBarController. So I just need to make sure that loads after the second splash screen completes. I already know I need a UIImageView but I dont know where I should put it or how I’m supposed to go about it. The two images I have are named

splash1_placeholder.png and splash2_placeholder.png they are both 480x320px

  • 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-20T03:48:40+00:00Added an answer on May 20, 2026 at 3:48 am

    Why 3 seconds? Why not “until my methods complete?” People hate splash screens. That’s why apple (and everybody else) discourages from using them.

    Maybe you should speed up your configuration logic.
    Nobody wants to read your company name for 6 seconds (plus the time the real default splash image will be displayed) when they sit in the bus and want to use your app for the next 30 seconds.


    Anyway, here is how you would implement it:

    Find the code where you add the tabbarcontroller to the window, replace it with the first splashscreen image.
    Set up a method that fires after 3 seconds that removes the first splash from the window and adds the second one.
    After another 3 seconds you remove the second splash screen from the window and finally add your tabbarcontroller.

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
        UIImageView *imageView = [[[UIImageView alloc] initWithFrame:self.window.bounds] autorelease];
        UIImage *image = [UIImage imageNamed:@"splash1_placeholder.png"];
        if (!image) {
            NSLog(@"Something went wrong trying to get the UIImage. Check filenames");
        }
        imageView.image = image;
        [self.window addSubview:imageView];
        [self.window makeKeyAndVisible];
        [self performSelector:@selector(removeFirstSplash:) withObject:imageView afterDelay:3];
        return YES;
    }
    
    - (void)removeFirstSplash:(UIImageView *)oldImageView {
        UIImageView *imageView = ...
        [self.window addSubview:imageView];
        [self performSelector:@selector(removeSecondSplash:) withObject:imageView afterDelay:3];
        [oldImageView removeFromSuperView];
    }
    
    - (void)removeSecondSplash:(UIImageView *)oldImageView {
        [self.window addSubview:self.tabController.view];
        [oldImageView removeFromSuperView];
    }
    

    not entirely perfect, but you could use it as a starting point.
    For example there is no need to remove the first UIImageView, you could just replace the image. Don’t know why I thought I should remove it.

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

Sidebar

Related Questions

I have developed an iphone app that needs the email address of a facebook
I have built an iPhone app that needs to pull data from a server.
I have a .html file that needs to go into my iPhone app's bundle
Greetings, I'm trying to write my first iPhone app. I have the need to
I have a form data from an iphone app that needs to send HTTP
We have an iPhone app that needs to be resigned by another company for
I am creating an iPhone app that I feel needs to have a receipt
I have an iPhone app that hides the status bar. However, my main view
I have an iPhone app that compiles and runs fine in the Simulator on
I have an iPhone app that heavily relies on the OpenCV library; as such,

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.