title: How to resize image in UIView?
body: <p>I tried to set image into UIView but I can't resize it in my view I got something like this:</p>
  <p><a href="https://i.stack.imgur.com/oqy3I.png" rel="nofollow noreferrer">UIview</a></p>
  <pre><code>     let imageName = &quot;rectanguloAzul&quot;
       let image = UIImage(named: imageName)
       let imageView = UIImageView(image: image!)
       imageView.contentMode = .scaleAspectFill
       self.view.addSubview(imageView)
  </code></pre>