SyntaxFix
Write A Post
Hire A Developer
Questions
For Swift 4
let backgroundImage = UIImageView(frame: UIScreen.main.bounds) backgroundImage.image = UIImage(named: "bg_name.png") backgroundImage.contentMode = UIViewContentMode.scaleAspectFill self.view.insertSubview(backgroundImage, at: 0)