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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:04:43+00:00 2026-05-28T07:04:43+00:00

My app is loading an online plist on launch, which is needed to display

  • 0

My app is loading an online plist on launch, which is needed to display the data in the tableview which will be shown. Depending on the internet connection, loading the plist can take rather long (4-5 seconds) and the launch screen is shown this entire time. Now, I’d like to put an activity indicator in the status bar (while launch screen is still up) so that the user knows the app is busy loading.

I’m loading the plist and creating arrays etc. in ViewDidLoad, and I’m not sure on how to achieve what I’ve sketched above.

Do you have any thoughts on this matter? 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-28T07:04:43+00:00Added an answer on May 28, 2026 at 7:04 am

    I would reconsider your approach if I were you. Unless you’ve specifically put in measures to avoid it, it’s likely that your code to download the plist will be being called before applicationDidFinishLaunching: returns. This is not good because if it takes a long time then the watchdog might kill your app even before it’s actually properly launched. Not a good thing.

    You should really be kicking off the download in a background thread and just stick a spinner in your actual view. So something like this:

    - (void)viewDidLoad {
        ...
    
        UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
        spinner.center = CGPointMake(self.view.bounds.size.width / 2.0f, self.view.bounds.size.height / 2.0f);
        [spinner startAnimating];
        [self.view addSubview:spinner];
    
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
            // Do your downloading of your plist, etc
            dispatch_async(dispatch_get_main_queue(), ^{
                [spinner removeFromSuperview];
            });
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a WebBrowser control on a WinForms app that is loading XML which
I'm trying to display a loading icon while my iPhone app downloads a network
I'm creating an android app where user loads some data from an online server
I want to get data while the app is loading and use this in
My mobile titanium app is loading data from a remote url, in the form
I want to let the User Know that the App is loading Data, so
How can I delay the app loading to show the splash screen for longer?
How do I keep a Monotouch iPhone app in landscape mode when loading a
There appear to be a lot of unnecessary frameworks loading into my iPhone app.
I'm trying to optimize the startup time/class loading time of my Java web app

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.