Avoid excessive heat or direct sunlight
Apple designed the iPhone to turn off when the phone overheats for a good reason. This feature protects the battery and sensitive components from heat-related damage. As an added bonus, it also prevents fire. But don’t just rely on this failsafe feature. Be proactive, and don’t leave your phone in your car during the summer. Keep your phone in the shade and use it only in Apple’s recommended temperature range of 32° to 95° F. You remember that surfer who lost his car when his iPhone burst into flames? It was probably due to excessive heat from being in a hot car while buried under his clothing.