Using Xcode, write an app for the lights using Swift programming to display the different colors on the iPhone simulator as follows:
When you open your simulator, the white color will be displayed on the entire panel.
Then, on the second touch, the yellow color will be displayed.
Then, on the third touch, the blue color will be displayed.
Finally, the next touch will bring the panel back to the white color.