swift change the entire background color code example
Example: changing color of background swift
self.view.backgroundColor = UIColor.blue // or .blue for shorthand
self.view.backgroundColor = UIColor.blue // or .blue for shorthand