iphone camera and flashlight not working. One possible solution, if your iPhone's torch is still not functioning, is to remove and then return the flashlight option back to the Control Center.

Open the Settings application. Choosing Control Center.
Select the Flashlight (or Torch, in certain regions) control by tapping the red minus (-) icon under Included Controls. If you're sure, tap Remove.
Scroll to the More Controls area at the bottom to add the flashlight back.
For a flashlight (or torch), tap the plus (+) sign.