My friend has this iPhone 6 which is worked just fine until recently. Now she couldn't access the camera and whenever she trying to do it there is a message saying
"Flash is disabled. The iPhone needs to be cool down before you can use the flash"
She tried the "erase all content and settings" but it is useless.
Help is appreciated. Thanks.