title: iOS 7 Auto Layout - UIImageView inside UIScrollView
body: <p>I have a simple view in an iOS application which is causing me some problems.</p>
  
  <p>In this view I have a UIScrollView (full width/height of main view), which is pinned to the top/bottom/leading/trailing of the main view (in IB).</p>
  
  <p>Inside the UIScrollView I have a UIImageView which is pinned top/bottom/leading/trailing to the UIScrollView.</p>
  
  <p>Now, the image inside the UIImageView is almost double the size of the main view, therefore the content mode of the UIImageView is set to Aspect Fit.  My problem is that when I run the project, the image is being displayed at its actual size.</p>
  
  <p>The reason the UIImageView is inside the UIScrollView is due to the fact that I want the user to be able to zoom in to the image (hence the reason it is double the size).</p>
  
  <p>I also want the user to be able to rotate the screen as the image may be in portrait or landscape format depending on which image they choose to view in the previous view.</p>
  
  <p>Surely this should be easy enough to do (in IB as well), however I cannot for the life of me figure it out.</p>