title: How to get back to my app after going to map app from my application in ios 6
body: <p>I am using this code to display some location on map.</p>
  
  <pre><code>Class mapItemClass = [MKMapItem class];
  if (mapItemClass &amp;&amp; [mapItemClass respondsToSelector:@selector(openMapsWithItems:launchOptions:)])
  {
      // Create an MKMapItem to pass to the Maps app
      CLLocationCoordinate2D coordinate =
      CLLocationCoordinate2DMake(37.789658,-122.417479);
      MKPlacemark *placemark = [[MKPlacemark alloc] initWithCoordinate:coordinate
                                                     addressDictionary:nil];
      MKMapItem *mapItem = [[MKMapItem alloc] initWithPlacemark:placemark];
      [mapItem setName:@"My Place"];
  
      // Set the directions mode to "Walking"
      // Can use MKLaunchOptionsDirectionsModeDriving instead
      NSDictionary *launchOptions = @{MKLaunchOptionsDirectionsModeKey : MKLaunchOptionsDirectionsModeDriving};
      // Get the "Current User Location" MKMapItem
      MKMapItem *currentLocationMapItem = [MKMapItem mapItemForCurrentLocation];
      // Pass the current location and destination map items to the Maps app
      // Set the direction mode in the launchOptions dictionary
      [MKMapItem openMapsWithItems:@[currentLocationMapItem, mapItem]
                     launchOptions:launchOptions];
  }
  </code></pre>
  
  <p>This code is taking me to the apple map app which is present in my iphone, this is ok but it is not taking me back to my app.
  If any one know any solution to achieve this please suggest me.
    !!Thanks in advance.!!</p>