title: Activity Indicator not starting animation straight away
body: <p>I initialize an activity indicator and in a button press action I start it animating and call the next view to display.</p>
  
  <pre><code>-(IBAction) downloadButtonPressed:(id)sender {
  
      NSLog(@"Download Button Pressed");
      indicator.hidden = NO;
      [indicator startAnimating];
  
      if (addviewcontroller == nil)
          addviewcontroller = [[AddViewController alloc]init];
      [self.view addSubview:addviewcontroller.view];
  
      [addviewcontroller setModalTransitionStyle:UIModalTransitionStyleCrossDissolve];
      [self presentModalViewController:addviewcontroller animated:YES];
  
  }
  </code></pre>
  
  <p>When I press the button, the activity indicator doesn't start immediately. It starts when the other view is called. The indicator is displayed for a second, but when the button is pressed it takes some time to load the other view.</p>
  
  <p>I dont know why the indicator shows for a second without starting.</p>