So have a normal view controller which loads up with loadCards(cards: cards)(similar to the example's MainViewController.swift)
I would like to change the background colour. I have tried changing it in storyboards and also using self.view.backgroundColor = UIColor(red:0.21, green:0.21, blue:0.21, alpha:1.0) in the viewDidLoad()
However, neither has worked and I'm not really sure how else to set the background view
Any help is much appreciated and many thanks in advance!
So have a normal view controller which loads up with
loadCards(cards: cards)
(similar to the example'sMainViewController.swift
)I would like to change the background colour. I have tried changing it in storyboards and also using
self.view.backgroundColor = UIColor(red:0.21, green:0.21, blue:0.21, alpha:1.0)
in theviewDidLoad()
However, neither has worked and I'm not really sure how else to set the background view
Any help is much appreciated and many thanks in advance!