title: UIImageView completely wrong position in UIView
body: <p>I'm trying to add an UIImageView to a UIView that I created.
  However, the position of the image is way too low inside the UIView, even though I set the frames to be equal.
  The UIView is called photoView, here is what I did:</p>
  
  <pre><code>UIImageView *imgV = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image1.JPG"]];
  imgV.frame = self.photoView.frame;
  [self.photoView addSubview:imgV];
  </code></pre>
  
  <p>You can see the result (and the position of photoView in the storyboard) here:
  <img src="https://i.stack.imgur.com/GeZRn.png" alt="enter image description here"></p>
  
  <p>I have no idea how to fix this, adding</p>
  
  <pre><code>imgV.center = self.photoView.center;
  imgV.contentMode = UIViewContentModeScaleToFill;
  </code></pre>
  
  <p>doesn't help either.</p>