title: leftcalloutaccessoryView takes the whole annotation View
body: <p>I want to display a Photo inside the leftaccessoryview
  just like below Image
  <img src="https://i.stack.imgur.com/LzP6K.png" alt="Like this"></p>
  
  <p>But I tried to set the image from the photo library the image takes the full annotationView and I didn't see the title at all
  Here is the code I've used</p>
  
  <pre><code> -(MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id&lt;MKAnnotation&gt;)annotation
   {
  
  
  if([annotation isKindOfClass:[MKUserLocation class]])
     return nil;
  
  static NSString *AnnotationIdentifier=@"AnnotationIdentifier";
  MKPinAnnotationView *pinView=[[MKPinAnnotationView alloc ]initWithAnnotation:annotation reuseIdentifier:AnnotationIdentifier];
  pinView.animatesDrop=YES;
  pinView.canShowCallout=YES;
  pinView.pinColor=MKPinAnnotationColorGreen;
  
  UIButton *rbutton=[UIButton buttonWithType:UIButtonTypeDetailDisclosure];
  [rbutton setTitle:annotation.title forState:UIControlStateNormal];
  //[rbutton addTarget:self action:@selector(showDetails:) forControlEvents:UIControlEventTouchUpInside];
  pinView.rightCalloutAccessoryView=rbutton;
  if (image) {
      UIImageView *temp=[[UIImageView alloc]initWithImage:image];
  
  
      pinView.leftCalloutAccessoryView=temp;
  }
  
  
  return pinView;
  </code></pre>
  
  <p>}</p>
  
  <p><code>image</code> is a <code>UIImage</code> where i am storing the image picked from image picker.
  I'm getting this as output.
  <img src="https://i.stack.imgur.com/DmI6u.png" alt="enter image description here"></p>