Charge your iPhone fully because a low battery can stop the flashlight from working. Turn off Low Power Mode, as it can also disable the flashlight on your iPhone. Restart your iPhone to fix software ...
Remember when flashlights used to be entirely separate devices and not a built-in smartphone feature? Well, they still are, but since many people carry their phones around more often than a flashlight ...