background changes swift code example Example: how to change background color swift self.view.backgroundColor = .black / .blue / .purple / .clear /ect.