title: Hide popup when annotation tapped on MapView
body: <p>I'm creating an iPhone app that shows a large number of pins on a map. I need the app to push another view that will show lots of information for that location, when the pin is tapped.</p>
  
  <p>In my viewDidAppear i have a piece of code that sets the title and subtitle values of the pin just for test purposes.</p>
  
  <pre><code>-(void)viewDidAppear:(BOOL)animated
  {
              pin.title = @"Some title";
              pin.subtitle = @"Some subtitle";
  }
  </code></pre>
  
  <p>in my didSelectAnnotationView delegate i have something along this lines</p>
  
  <pre><code>- (void)mapView:(MKMapView *)mapView
  didSelectAnnotationView:(MKAnnotationView *)view
  {    
      [self performSegueWithIdentifier:@"showPinDetails" sender:self];    
  }
  </code></pre>
  
  <p>Now, when i tap on the pin, a popover appears for a brief moment, showing the title and subtitle in a popup, and then the segue pushes the details view. When I tap the back buton to retun me to the map view, the popup is still visible.
  How can I somehow completely hide or disable the popup? If i don't set the title and subtitle values the didSelectAnnotationView delegate doesn't get called at all. I will gladly post additional code if you need me to, I just wanted to keep things as simple as I could.</p>
  
  <p>Am I doing this wrong? Should I use some different method to achieve what I need to do? Thanks</p>