Answers for "swift view controller background image"

0

swift view controller background image

[self.view setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]]];
Posted by: Guest on June-17-2021
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 "swift view controller background image"

Code answers related to "Swift"

Browse Popular Code Answers by Language