title: Placing an object in respect with screen in swift
body: <p>I would like to set an image view in respect with screen and not the view. I have tried doing something like the following, but it does not work.</p>
  
  <pre><code>bgImgView = UIImageView(image: bgImage)
  var scrFrame = UIScreen.mainScreen().bounds.size
  bgImgView.frame = CGRectMake(0, -self.view.frame.origin.y, scrFrame.width, scrFrame.height)
  self.view.addSubview(self.bgImgView)
  </code></pre>