title: Center UIImageView inside UIView
body: <p>So I have a <code>UIImageView</code> named <code>currentEventImage</code> that is inside an <code>UIView</code> <code>blurryBackGround</code>. I currently want to center the <code>UIImageView</code> in the <code>UIView</code>. Below is my current code</p>
  
  <pre><code>//Subviews will be added here
  view.addSubview(blurryBackGround)
  view.addSubview(currentEventImage)
  view.addSubview(currentEventDate)
  
  //Constraints will be added here
  _ = blurryBackGround.anchor(top: view.topAnchor, left: view.leftAnchor, bottom: nil, right: view.rightAnchor, paddingTop: 17, paddingLeft: 0, paddingBottom: 0, paddingRight: 0, width: self.view.frame.width, height: 330)
  currentEventImage.heightAnchor.constraint(equalToConstant: 330).isActive = true
  currentEventImage.topAnchor.constraint(equalTo: blurryBackGround.topAnchor, constant: 5).isActive = true
  currentEventImage.center = blurryBackGround.center
  blurryBackGround.addSubview(currentEventImage)
  </code></pre>
  
  <p>Any idea how I would do that?</p>
  
  <pre><code>currentEventImage.center = blurryBackGround.convert(blurryBackGround.center, from: blurryBackGround.superview)
  </code></pre>
  
  <p>Tried this and it didn't work</p>