My questions is, is it possible to have a UIView display an image, and if so, how so I do it? All I can find is the colorwithpatternImage which no longer works
colorwithpatternImage
You have to add optional binding for the above code to work. That is exclamation after UIImage as shown below.
view.backgroundColor = UIColor(patternImage: UIImage(named: "backgroundSection.png")!)