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