title: how to make an ImageView zoomable with or without ScrollView.?
body: <p>I have an <code>UImageView</code> in my <code>IB</code> and added a map image on that <code>UImageView</code>. I want to make that image pinch zoomable. </p>
  
  <p>Here is my code: </p>
  
  <pre><code>- (void)viewDidLoad
  {
     [super viewDidLoad];
      self.title = @"Map";
  
     self.mapImageView.contentMode = UIViewContentModeScaleAspectFit;
     [self.mapScrollView addSubview:self.mapImageView];
     [self.mapScrollView setContentSize:CGSizeMake(self.mapImageView.frame.size.width, self.mapImageView.frame.size.height)];
     [self.mapScrollView setMinimumZoomScale:1.0];
     [self.mapScrollView setMaximumZoomScale:4.0];
  }
  
  - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
  {
     return self.mapImageView;
  }
  </code></pre>
  
  <p>but this doesn't help, I can see a <code>UIScrollView</code> Coming but nothing happen to my image.<br>
  Thanks in advance.</p>