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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:41:33+00:00 2026-06-10T07:41:33+00:00

I am using storyboard with IOS 5. I need to load a loading view

  • 0

I am using storyboard with IOS 5.
I need to load a loading view pop up in viewdidload because of heavy image processing.
It is not bringing up the loading view. I tried this code below on different places and it worked. Just not on viewdidload.

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notify_action_finish:) name:@"StopLoadingView" object:nil];
loadingView =[tfbLoadingView loadingViewInView:[self.view.window.subviews objectAtIndex:0]];

Thanks in advance.

  • 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-10T07:41:35+00:00Added an answer on June 10, 2026 at 7:41 am

    As Eric says in his comment, use MBProgressHud for loading view..

    Add the HUD as a subview of the window.

        // Should be initialized with the windows frame so the HUD disables all user input by covering the entire screen
        HUD = [[MBProgressHUD alloc] initWithWindow:[UIApplication sharedApplication].keyWindow];
    
        // Add HUD to screen
        [self.view.window addSubview:HUD];
    
        // Register for HUD callbacks so we can remove it from the window at the right time
        HUD.delegate = self;
    
        HUD.labelText = NSLocalizedString(@"Loading Workbench", nil);
        HUD.detailsLabelText = NSLocalizedString(@"please wait", nil);
    
        // Show the HUD while the provided method executes in a new thread
        [HUD showWhileExecuting:@selector(loadWorkbench:) onTarget:self withObject:nil animated:YES];
    

    Add the following delegate method:

    - (void)hudWasHidden {
        // Remove HUD from screen 
        [HUD removeFromSuperview];
    
        // add here the code you may need
    
    }
    

    Also dont forget to add MBProgressHUDDelegate in the corresponding header file.

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

Sidebar

Related Questions

Using storyboard ,I created a project. Inside viewDidLoad ,I did : NSLog(@"%@",self.view.description); I got
I'am using Xcode 4.3.2 with Storyboard and IOS 5.1 In my app, i need
Using Storyboard in iOS 5, I added a uitableview into an existing view controller
I am using an iOS 5 storyboard-based project. When presenting a modal view controller
I'm in xCode 4.2 using ARC and Storyboard (iOS 5). I suppose to put
I did two sample applications in ios.Both applications i have done using storyboard.Then after
I am very much new to IOS. I am using the storyboard feature to
Using: iOS 5, ARC, StoryBoards. Have 1 image and text on every cell. Images
Using storyboard, I have a table view controller containing multiple dynamic prototype cells. One
I created an app using the iOS 5 Storyboard feature, and have decided I

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.