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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:35:50+00:00 2026-05-20T10:35:50+00:00

I have a tabbar iPhone application in which tabbar is the root controller and

  • 0

I have a tabbar iPhone application in which tabbar is the root controller and each of the tabs is launching a separate webview window. Each time user taps one of the tabs I intercept the tap in AppDelegate and perform actions, one of which is displaying loading screen (an image in the tabbar view, with display toggled TRUE/FALSE).

My problem is, the loading screen is only displayed when all operations in AppDelegate are finished, which pretty much defeats the purpose of it. My guess is that I did some fundamental error designing this solution, but being a very inexperienced in iPhone programing I don’t know how to fix it.

I’m accessing the function showLoading through iboutlets defined in AppDelegate:

[hv showLoading];

And this is what it does:

- (void) showLoading
{
    loadingView.hidden = FALSE;
    wheelHome.hidden = FALSE;
    [wheelHome startAnimating];
    NSLog(@"showLoad 1");
}

I’m seeing the “showLoad 1” immediately after bar is tapped, but loading image is only displayed when didSelectViewController exits.

My question – how can I make loading screen appear from AppDelegate OR is there a better way to display loading screen?

  • 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-20T10:35:50+00:00Added an answer on May 20, 2026 at 10:35 am

    The problem is, that the UI is only updated when the event handling code returns to the run loop. You have two options:

    1. Prepare for your long-running task (setup the UI) and then start the task by [myDownloader persormSelector:@selector(download) withObject:nil afterDelay:0];. The benefit of using performSelector:withObject:afterDelay: is that your code returns to the run loop, gets time to update the UI, and then immediately starts the task.
    2. Design your long running tasks (downloading, …) so that they perform in the background.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iphone app, i have a navigation Controller and a tabBar Controller. The
I have an IPhone application that I want to attempt login and do some
Hello guys, I have a general design problem with iPhone application. I want to
I am currently developing an iPhone application which loads data from an RSS feed
iPhone application, which has two buttons -right side- of Navigation Bar title. I want
I build my first iPhone application and I have a problem with switching views.
I have a tabbar-based iOS app with two tabs. When I tab into the
I am making an application which implements the following structure : MainWindow |_ tabBar
I have a tabBar in my application. In one of the section i have
I have developed an iPhone application based on Tab bar & Navigation bar and

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.