#####Touch the light. If light off then on else on then off.
I used UIButton and UIImage.
- func setImage(UIImage(named: "nameImage.*"), for: UIControlState.normal)
###Feature in future
Tap the button and turn on the flash off Iphone else turn if it on.
https://developer.apple.com/reference/avfoundation/avcapturedevice http://stackoverflow.com/questions/32924974/how-to-turn-on-the-flash-light-with-swift https://github.com/russjr08/Flashlight