title: How To add custom View in map's Annotation's Callout's
body: <p>Here is my code. I want to add my own custom callout view instead of iOS default. I know there is only left callout and right callout view, but I need to add a view tooltip type with my own background and label. </p>
  
  <pre><code>    - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id &lt;MKAnnotation&gt;)annotation
      {
          MKAnnotationView *userAnnotationView = nil;
          if ([annotation isKindOfClass:MKUserLocation.class])
          {
              userAnnotationView = (MKAnnotationView *)[mapView dequeueReusableAnnotationViewWithIdentifier:@"UserLocation"];
              if (userAnnotationView == nil)  {
              userAnnotationView = [[MKAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:@"UserLocation"];
              }
              else
                  userAnnotationView.annotation = annotation;
  
              userAnnotationView.enabled = YES;
  
  
              userAnnotationView.canShowCallout = YES;
              userAnnotationView.image = [UIImage imageNamed:@"map_pin.png"];
              UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0,0,141,108)];
              view.backgroundColor = [UIColor clearColor];
              UIImageView *imgView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"toltip.png"]];
              [view addSubview:imgView];
              userAnnotationView.leftCalloutAccessoryView = view;
  
  
  
              return userAnnotationView;
          }
  
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ca5VO.png" alt="Image for reference"></p>