My i-phone did that the other day for the first time - it was sitting on the console of my car in direct sunlight - had to put in front of AC vent for a few minutes to cool down before it would do anything...