title: Center UIImageView inside UIScrollView without contentInset?
body: <p>I have been unable to find the answer for this issue I am having.</p>
  
  <p>I have a UIImageView inside a UIScrollView, and I would like the center its content vertically. </p>
  
  <p>Right now, the only way I have been able to do this is by setting the scroll view's contentInset based on the height of the UIImageView size, but this is not a perfect solution; it just increases the size of the UIImageView, making the UIScrollView 'think' its content is bigger, and adds these black bars to the top.</p>
  
  <p>I've tried to get help from:</p>
  
  <p><a href="https://stackoverflow.com/questions/638299/uiscrollview-with-centered-uiimageview-like-photos-app">UIScrollView with centered UIImageView, like Photos app</a></p>
  
  <p>and</p>
  
  <p><a href="https://stackoverflow.com/questions/1316451/center-content-of-uiscrollview-when-smaller">Center content of UIScrollView when smaller</a></p>
  
  <p>But have not been able to solve it using those answers.</p>