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 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

I'm having trouble with an app that runs on IIS 6, but not IIS
I'm looking for a pc app that runs in the background and collates simple
I have a simple .NET 2.0 windows form app that runs off of a
This a bit of strange one.... We have an internal web app that runs
I have an iPhone app that compiles and runs fine in the Simulator on
My app runs well on my quad-core machine. It is 'embarrasingly parallel', with about
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'm running an old little app which runs in the browser from local files,
I have a WinForms app written in C# with .NET 3.5. It runs a

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.