title: Snapshot of MKMapView in iOS7
body: <p>I am trying to create a snapshot of a MKMapView in iOS7 application the same way it's recommended everywhere for previous iOS versions:</p>
  
  <pre><code>- (UIImage*) renderMapViewToImage
  {
     UIGraphicsBeginImageContextWithOptions(mapView.frame.size, NO, 0.0);
     [mapView.layer renderInContext:UIGraphicsGetCurrentContext()];
     UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
     UIGraphicsEndImageContext(); 
     return image;
  }
  </code></pre>
  
  <p>However, the image returned is a black rectangle with a blue current location dot on top of it.
  I've tried using different sublayers of the mapView as well, but the result is always the same.</p>
  
  <p>Does anyone know how to take MKMapView snapshots in iOS7 ?</p>