title: Activity Indicator not showing up
body: <p>I have two issues with activity indicator:
  1. Activity Indicator not showing up on UIViewController</p>
  
  <p>I have activity indicator added in .xib file. On button click it should start animating. and when response from server is received, before going to next page it should stop animating.
  I am doing it as follows:</p>
  
  <pre><code>activityIndicator.hidden = NO;
  
  [activityIndicator performSelector:@selector(startAnimating) withObject:nil afterDelay:0.1];
  
  [self.view bringSubviewToFront:activityIndicator];
  
  ....rest of code here....
  
  activityIndicator.hidden = YES;
  
  [activityIndicator stopAnimating];
  </code></pre>
  
  <ol>
  <li>Activity Indicator not showing up on UITableView</li>
  </ol>
  
  <p>For table view I am doing it same way but on didselectrowatindexpath...</p>
  
  <p>For tableview I also tried adding activity view to cell accessory, but still not showing up</p>
  
  <p>In both cases activity Indicator is not showing up.</p>
  
  <p>Please help</p>
  
  <p>Thanks</p>