Why is my iPhone 6plus camera freezing?

My iPhone 6plus back camera keeps freezing which sometimes affects the front camera as well but when I face the phone to my air conditioner for some time then the camera will operate for a while and freeze again
Welcome to iMore! I doubt your air conditioner has anything to do with either of the cameras on your phone. If you're having issues with freezing, try to reset your device by holding the power button and home button down simultaneously until you see the Apple boot logo. If that doesn't work I recommend restoring your device via iTunes. Instructions are here:
How to restore your iPhone or iPad with iTunes | iMore
If you don't have access to a computer, you can still restore your phone as new. Just erase all content and Settings, then set it up as new. Using a back up may bring the problem back.

Original thread: https://forums.imore.com/threads/why-is-my-iphone-6plus-camera-freezing.349471/