Answers for "how to change background image of a view controller swift"

0

swift view controller background image

override func viewDidLoad() {
    super.viewDidLoad()
    self.view.backgroundColor = UIColor(patternImage: UIImage(named: "background.png"))
}
Posted by: Guest on June-17-2021

Code answers related to "how to change background image of a view controller swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language