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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:02:18+00:00 2026-05-23T20:02:18+00:00

In my app when I download something from service, I show progress indicator: –

  • 0

In my app when I download something from service, I show progress indicator:

 - (void)setupProgressIndicator {
    MBProgressHUD *progressHUD = [[MBProgressHUD alloc] initWithView:self.view];
    [self.view addSubview:progressHUD];
    self.progressIndicator = progressHUD;
    [progressHUD release];
 }

[self.progressIndicator show:YES];

My view has Navigation Bar which I setup in my AppDelegate, and when indicator is shown, I still can tup on Navigation Bar Buttons…Can MBProgressHUB cover whole screen ??? Because I don’t want to disable buttons on sync start and than make them enable on sync finish…I think indicator should cover whole screen. Any ideas ? 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-23T20:02:18+00:00Added an answer on May 23, 2026 at 8:02 pm

    Here is my implementation use it if you want
    Put it in appDelegate and use from anywhere in the application.

    #pragma mark -
    #pragma mark Waiting View
    - (void)showWaitingView {
    
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    
        CGRect frame = CGRectMake(90, 190, 32, 32);
        UIActivityIndicatorView* progressInd = [[UIActivityIndicatorView alloc] initWithFrame:frame];
        [progressInd startAnimating];
        progressInd.activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhiteLarge;
    
        frame = CGRectMake(130, 193, 140, 30);
        UILabel *waitingLable = [[UILabel alloc] initWithFrame:frame];
        waitingLable.text = @"Processing...";
        waitingLable.textColor = [UIColor whiteColor];
        waitingLable.font = [UIFont systemFontOfSize:20];;
        waitingLable.backgroundColor = [UIColor clearColor];
        frame = [[UIScreen mainScreen] applicationFrame];
        UIView *theView = [[UIView alloc] initWithFrame:frame];
        theView.backgroundColor = [UIColor blackColor];
        theView.alpha = 0.7;
        theView.tag = 999;
        [theView addSubview:progressInd];
        [theView addSubview:waitingLable];
    
        [progressInd release];
        [waitingLable release];
    
        [window addSubview:[theView autorelease]];
        [window bringSubviewToFront:theView];
        [pool drain];
    }
    
    - (void)removeWaitingView {
        UIView *v = [window viewWithTag:999];
        if(v) [v removeFromSuperview];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an android app. I want the program Regularly Download something from
I have an application with In-App Purchase, that when the user buy something, download
We have an Android app and a Web Service. We want to download part
I am using google app engine and would like to download tweets from a
Here's my use case. I have a desktop app that can download from my
In my app I need to download files from url locations. I want to
I am developing an android app which fetches/uploads data from/to the web service every
I am requesting information from a web service in my android app. The web
I'm writing a JNI application and I want the app to download the correct
I am trying to download content dynamically to my App after an In-App purchase.

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.