Since a few days ago, my iPhone has been freezing randomly and shutting down, and then restarting on its own. As soon as it restarts, the phone freezes (before I can put in the password). I can't reboot the phone because it freezes before I can hold the home and power button long enough to do so. My iPhone will keep on freezing and restarting on its own until it runs out of battery. After I recharge it, the phone will function a few hours normally, until it starts freezing again. The process then repeats. How do I stop this?
Read more: https://iphoneus.org/faq/how-do-you-fix-an-iphone-7-that-keeps-freezing.html