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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:57:02+00:00 2026-06-17T17:57:02+00:00

I am using a MBProgressHUD view to show loading state when i am downloading

  • 0

I am using a MBProgressHUD view to show loading state when i am downloading something from the Internet. When download is finished, i call the hide method to hide the view. I want to use a timer to judge whether download is finished by checking the view’s hidden, namely, isHidden method. But when i set the view ‘s hide to YES, then check isHidden method, it returns NO. I don’t know why the view works like this?

some snippets are as follows:

MBProgressHUD   *HUD; // instance variable

In the download finished method:

[HUD hide:YES];
NSLog(@"HUD isHidden: %@",[HUD isHidden] ? @"YES" : @"NO");

When the method is called, the output is NO.

  • 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-06-17T17:57:04+00:00Added an answer on June 17, 2026 at 5:57 pm

    As per MBProgressHUD’s implementation, they don’t hide it using hidden property of UIView. They just sets alpha of MBProgressHUD to 0 so that it will not be visible.

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

Sidebar

Related Questions

I am using MBProgressHUD to show animations when the view is loading. WHen the
I am using code to call a method and show the HUD as below
I'm badly struggling with MBProgressHUD and NSURLconnection... I'm using showWhileExecuting method to call another
I'm using MBProgressHUD to show spinner while loading some web pages. for some sites,
I am using a private MBProgressHUD Now I am using the indicator view on
I'm using this MBProgressHUD code: MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.mode = MBProgressHUDModeText;
I have the following sequence: Start MBProgressHUD spinner Download several images using NSConnectionURL and
I'm using MBProgressHud to show a load indicator. Here is my display code: self.hud
I'm trying to show a custom MBProgressHUD while downloading a list of URLs with
Im using the MBProgressHUD to make an overview loading screen while logging out in

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.