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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:14:00+00:00 2026-05-26T15:14:00+00:00

I am using 3rd part UIActivityIndicator SVProgressHUD, I am initalising this when my view

  • 0

I am using 3rd part UIActivityIndicator SVProgressHUD, I am initalising this when my view loads. I would like to delay the activityIndicator for about 1 second while a few things in my app happen. then call [SVProgressHUD dismiss]; based off that 1 second wait.. but am not sure how to do this.

currently this is how my code looks in viewdidload

[SVProgressHUD showWithMaskType:SVProgressHUDMaskTypeBlack];
    [SVProgressHUD setStatus:@"loading..."];   

    [SVProgressHUD dismiss];

I know that there is a dismisswithsucsess:timer .. but this seems to delay the amount of time the sucsess message appears for which I don’t want.. I want to delay the indicator and have no text.. but just cannot think of a way to do it.

I have tried

sleep(1); //which dosnt work 

also I have tried

//[SVProgressHUD performSelector:@selector(stopAnimating) withObject:nil afterDelay:0];

and put [SVProgressHUD dismiss]; inside stopAnimating method but this falls over as it seems all of the calls need to be inside the same method.

  • 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-26T15:14:01+00:00Added an answer on May 26, 2026 at 3:14 pm

    You could use a timer to set of a method that dismisses your view like so:

    [NSTimer scheduledTimerWithTimeInterval:1 target:self
    selector:@selector(myMethod) userInfo:nil repeats:NO];
    

    With method:

    -(void)myMethod:(NSTimer*)timer {
         // Dismiss your view
         [progressthingy dismiss];  
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a 3rd party library that has a declaration like this: typedef
When using 3rd party libraries/components in production projects, are you rigorous about using only
This is driving me nuts. I am using some 3rd-party code in a Windows
when using 3rd part libraries they tend to throw exceptions to the browser and
I'm new to iPhone development and I'm having trouble using the 3rd part Kal
Is there a best practice for using email/user accounts for 3rd part APIs in
I am using a 3rd party API which is defined in 2 DLLs. I
I'm using a 3rd party DLL written in unmanaged C++ that controls some hardware
I am using a 3rd party component which creates settings files based on hard-coded
The project I'm on is using a 3rd party component to build dynamic PDFs

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.