title: Hiding UIAlertView Opened in Another Function (iPhone SDK)
body: <p>I am using the solution posted in this thread:</p>
  
  <p><a href="https://stackoverflow.com/questions/1832459/how-to-show-a-alert-when-user-click-on-use-button-after-shooting-a-picture-using">how to show a alert when user click on use button after shooting a picture using uiimagepicker?</a></p>
  
  <p>However, that gave an error on the following line that "saveImage" was undeclared.</p>
  
  <p>saveImage = [[UIAlertView alloc] initWithTitle:@"Sa...</p>
  
  <p>So I changed the code to read:</p>
  
  <p>UIAlertView *saveImage = [[UIAlertView alloc] initWithTitle:@"Sa...</p>
  
  <p>and the error went away, and the alert displays great.</p>
  
  <p>The problem is that when I try to dismiss the alert below in didFinishSavingWithError it gives the same error from above that "saveImage" is undeclared (first use in function).</p>
  
  <p>I've only been playing around with iPhone development for a few days, so please forgive me if this a a simple/stupid question, but ...</p>
  
  <p>How do I reference that alert inside of didFinishSavingWithError to close it?</p>