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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:02:36+00:00 2026-05-20T06:02:36+00:00

My app runs well on iOS4, except that sometimes it shows a whitescreen, especially

  • 0

My app runs well on iOS4, except that sometimes it shows a whitescreen, especially after a long period of time not using the app (I guess that it may get deleted from the background, but I already tried), but then, if I close the app and reopen it again, everything works just fine. I don’t know if there is any specific problem with this. It is a normal iphone app with tabs.

Here is the application:didFinishLaunchingWithOptions:,

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


    gpsUpdate=0;
    NSLog(@"entro a didFinishLaunch");
    if (locationManager == nil ) {
    }

    if ([launchOptions objectForKey: UIApplicationLaunchOptionsLocationKey] != nil) {

            // register for local notification
    }
    else {
        iconBadNumber=0;
        [self checkConnection];
        [self copyDatabaseIfNeeded];
        iconBadNumber=0;
        self.alertsArray = [[NSMutableArray alloc] init];
        self.searchArray = [[NSMutableArray alloc] init];

        [Alertas getAllAlerts];

        [window addSubview:tabBarController.view];
    }       

    [tabBarController setDelegate:self];
    return YES;
}
  • 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-20T06:02:37+00:00Added an answer on May 20, 2026 at 6:02 am

    you are adding subview as tabBarController.view for window in only one condition. Always inside the didFinishLaunchingWithOptions method you need to add some view as a subview to window otherwise it will show white screen as it is the default color of the window.

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

Sidebar

Related Questions

My web app runs well except one thing. File Uplods. Basically when a user
I'm working with a Classic ASP web app that typically runs well considering the
i use xcode 4.3.2 with phonegap 1.6. my app runs well the first time,
My iPhone app (not universal) has iAd on it, and it runs well during
Is there a way to specify that the app runs on the iphone, the
I recently added devise confirmable module to my rails app. My application runs well
I setup a FSEvent that runs well but it keeps reporting the same event
I have code that runs well on the simulator but as soon as I
I have an app that runs on PHP 5.3 which stores passwords hashed using
I im creating a simple testing app that runs a check every hour on

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.