title: UIScrollView Zoom on shake effect
body: <p>I am working on application in which i need to zoom the scroll view on shake effect so user will not touch the screen to pinch or double tap.</p>
  
  <p>I have implemented the code by looking in to this tutorial:
  <a href="https://stackoverflow.com/questions/2380643/zoom-uiscrollview-with-multiple-images">Zoom UIScrollView with multiple images</a></p>
  
  <p>I got the call in a delegate:</p>
  
  <pre><code>viewForZoomingInScrollView
  </code></pre>
  
  <p>But the image view not zoom in or out. 
  When i touch the screen after the delegate called the scroll view is zoom in. But content in scroll view not zoom in or out. It remains as it is.</p>
  
  <p>Even some time i did not get call in the following delegate:</p>
  
  <pre><code>scrollViewDidZoom
  scrollViewDidEndZooming
  </code></pre>
  
  <p>So do i need to call layout subview after viewForZoomingInScrollView if yes where?
  From my understanding the view is not zooming because i have not pinch or double tap the scroll view. 
  Please help me out.</p>