title: Only add pin when button is clicked
body: <p>I have this code that I need altered slightly. The code I have below creates a pin on my current location (perfectly as I might add). </p>
  
  <p>The only problem is that I need the code only to be run when I click a button, not every time I move. </p>
  
  <p>Here is the code of the current location and the pin.</p>
  
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
  
      [self.mapView setDelegate:self];
      [self.mapView setShowsUserLocation:YES];
  }
  
  - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation {
  
      // zoom to region containing the user location
      MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance(userLocation.coordinate, 700, 700);
      [self.mapView setRegion:[self.mapView regionThatFits:region] animated:YES];
  
      // add the annotation
      MKPointAnnotation *point = [[MKPointAnnotation alloc] init];
      point.coordinate = userLocation.coordinate;
      point.title = @"Your Car";
      //point.subtitle = @"";
      [self.mapView addAnnotation:point];
  }
  </code></pre>
  
  <p>I need this to run when I click a button such as:</p>
  
  <pre><code>-(IBAction)addPin
  {
  }
  </code></pre>