title: How to add a image in background in my view in swift?
body: <p>I'm trying add a image background in my viewController of my Swift app, but colorWithPatternImage is unavailable.. there are other form for this or is necessary add this into a imageView?</p>
  
  <p>I'm trying make this with this code:</p>
  
  <pre><code> let imageName = "image.png"
      self.view.backgroundColor = UIColor.colorWithPatternImage(UIImage(named:imageName))
  </code></pre>
  
  <p>Thanks!</p>