title: UIActivityIndicatorView does not show
body: <p>I have an app with a table view controller in which a user selects a US state, a web service is called and data is displayed for that state in the destination table view controller. Since the web service can take some time to complete I want an activity indicator. Since there will be no temporary data to display, I need this to be processed synchronously. So my task is pretty simple: start the activity indicator, call the web service, and after it completes, stop the activity indicator. </p>
  
  <p>I am obviously doing something wrong and no activity indicator ever displays.</p>
  
  <p>Here is the code from my destination table view controller's viewDidAppear method:</p>
  
  <pre><code>-(void)viewDidAppear:(BOOL)animated{
      [super viewDidAppear:animated];
      spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
      [self.tableView bringSubviewToFront:spinner];
      spinner.hidesWhenStopped = YES;
      spinner.hidden = NO;
      [spinner startAnimating];
      stateGauges = [[GaugeList alloc] initWithStateIdentifier:stateIdentifier andType:nil];
      [self.tableView reloadData];
      [spinner stopAnimating];
  }
  </code></pre>
  
  <p>Header:</p>
  
  <pre><code>@property (strong, nonatomic) UIActivityIndicatorView *spinner;
  </code></pre>
  
  <p>GaugeList is the object which makes the web service call.</p>
  
  <p>Can someone tell me how to get an activity indicator view to appear? Thanks! </p>