Rear Camera, Flash, and Flashlight Unresponsive
Hello all. About two weeks ago, my rear camera stopped working along with flash and the flashlight. My iPhone 5S says it's too hot to use the flashlight and whenever I try to use the rear camera it only shows black. If I try to use it, it will freeze any app I'm on, whether it be Snapchat or the camera app itself. My front facing camera works fine however. Miraculously, everything started working just fine again a few days ago and now has stopped working again. I'm getting quite frustrated with this. I've restarted my phone numerous times and have tried the low power mode method a number of times. I'm stuck and would greatly appreciate any tips/ advice anyone could give me on how to fix this problem. Thank you!!
iPhone 5s, iOS 9.2.1