title: How to fill background image in subview in swift 4?
body: <p>I have used scrollview. Over the Scrollview I have a UIView where I can set up my image as a background. But problem is that image height is  not merged with UIView height. It is shown when scrolling bottom. I want add image with whole UIView.
  Here is my image screen shot</p>
  
  <p><a href="https://i.stack.imgur.com/EAW9d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EAW9d.png" alt="enter image description here"></a></p>
  
  <p>Here is my code</p>
  
  <pre><code>let backgroundImage = UIImageView(frame: UIScreen.main.bounds)
  backgroundImage.clipsToBounds = true
  backgroundImage.image = UIImage(named: "background_image")
  backgroundImage.contentMode = .scaleToFill
  self.my_view_2.insertSubview(backgroundImage, at:0)
  </code></pre>
  
  <p>Please Help me
  Thanks</p>