title: iOS show UIImage full screen with zooming (pinch and double tap) enabled
body: <p>I have an <code>UIImage</code> captured from the camera with <code>UIImagePickerController</code>. </p>
  
  <p>Now after the user clicks on it, I'd like it to show full screen and be able to to zoom it in and out using pinch gestures and also the double tap gesture to zoom in a particular area. In other words, I'd like to emulate what the ios's default image browser does.</p>
  
  <p>I display the captured image in an <code>UIImageView</code> with:</p>
  
  <pre><code>self.imageView.contentMode = UIViewContentModeScaleAspectFill;
  </code></pre>
  
  <p>which makes the image go full screen. But how do I implement zooming. Do I need to do it from scratch using gesture recognizers? Or maybe there's a default image display view with all that implemented I am not aware of? </p>