title: How to setFrame to UIImage which is set on MapAnnotation
body: <p>I need to set the frame to an to an image which is used as the image of pinAnnotation.</p>
  
  <p>With This is I add the image,</p>
  
  <pre><code>MKAnnotationView* annotationView = [objMapView dequeueReusableAnnotationViewWithIdentifier:annotationIdentifier];
      if(!annotationView)
      {
          annotationView = [[MKAnnotationView alloc] initWithAnnotation:annotation
                                                        reuseIdentifier:annotationIdentifier];
      }
  
      annotationView.image = [UIImage imageNamed:@"rrb.png"] ;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/blFbA.png" alt="enter image description here"></p>
  
  <p>The current view is like this...whereas this image is to be used for each annotationPin.
  Though this image is big but how do i set the frame so that it just fits according to my frame.
  These images would be coming through webService.</p>
  
  <p>The view is supposed to be like this... (i changed the size of the image)</p>
  
  <p><img src="https://i.stack.imgur.com/rgSmN.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/rgSmN.png" alt="enter image description here"></p>
  
  <p>to set the image on annotation : </p>
  
  <pre><code>UIImageView *imgV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:joinString]];
          [imgV setFrame:CGRectMake(0, 0, 40, 40)];
           annotationView.image = imgV.image;
  </code></pre>
  
  <p>// join String is the string containing the image fetched from webService.</p>