I've got an image set as a background in :
self.view.backgroundColor = UIColor(patternImage: UIImage(named: "background")!)
The question is how to set it's opacity or "alpha". I have tried
colorWithAlphaComponent(0.5)
but it just made the image darker. I want it to be brighter.