title: UIActivityIndicatorView Starting and Stopping
body: <p>I have an activity indicator that needs to be activated as soon as a button is clicked and then stopped after a conditional statement...</p>
  
  <p>I've looked at ways online to implement this but all i can find is setting them with webviews not simply turning them on and then off again.... below is my basic problem</p>
  
  <pre><code>-(IBAction)SavePassword:(id)sender{
  \\start animating activity indicator
  if(post recieved no errors){
  \\stop animating activity indicator
  }
  \\else{
  return the user error
  }
  </code></pre>
  
  <p>if anyone can help it would be awesome :)</p>