title: SVProgressHUD how to delay for specified amount of time
body: <p>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.</p>
  
  <p>currently this is how my code looks in viewdidload</p>
  
  <pre><code>[SVProgressHUD showWithMaskType:SVProgressHUDMaskTypeBlack];
      [SVProgressHUD setStatus:@"loading..."];   
  
      [SVProgressHUD dismiss];
  </code></pre>
  
  <p>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.</p>
  
  <p>I have tried </p>
  
  <pre><code>sleep(1); //which dosnt work 
  </code></pre>
  
  <p>also I have tried </p>
  
  <pre><code>//[SVProgressHUD performSelector:@selector(stopAnimating) withObject:nil afterDelay:0];
  </code></pre>
  
  <p>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.</p>